Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "material", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A lightweight implementation of Material Design Components - ES6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -157,3 +157,3 @@ 'use strict' | ||
label = label || this.options.label | ||
var text | ||
var text = label | ||
@@ -170,5 +170,18 @@ if (label === null || label === false) { | ||
this.label.textContent = text | ||
if (!this.element.label) { | ||
this.label(text) | ||
} else { | ||
this.element.label.textContent = text | ||
} | ||
} | ||
hide () { | ||
console.log('hide') | ||
this.root.style.display = 'none' | ||
} | ||
show () { | ||
this.root.style.display = 'inherit' | ||
} | ||
/** | ||
@@ -175,0 +188,0 @@ * method handleClick |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
622711
10327