Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

material

Package Overview
Dependencies
Maintainers
3
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

2

package.json
{
"name": "material",
"version": "0.8.8",
"version": "0.8.9",
"description": "A lightweight implementation of Material Design Components for the web - ES6",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -85,4 +85,3 @@ import EventEmitter from './mixin/emitter'

case 'label':
if (!this.ui.label) this.buildLabel()
this.ui.label.innerHTML = value
this.setLabel(value)
break

@@ -130,3 +129,5 @@ case 'text':

case 'label':
return this.label?.innerHTML ?? this.element.value
return this.getText()
case 'text':
return this.getText()
default:

@@ -137,2 +138,10 @@ return this.element.value

getText () {
if (this.ui.label) {
return this.ui.label.innerHTML
} else {
return this.element.innerHTML
}
}
disable () {

@@ -139,0 +148,0 @@ this.element.disabled = true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc