@jeefo/jqlite
Advanced tools
Comparing version 0.0.2 to 0.0.3
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : event_methods.js | ||
* Created at : 2017-08-03 | ||
* Updated at : 2019-11-16 | ||
* Updated at : 2019-11-27 | ||
* Author : jeefo | ||
@@ -6,0 +6,0 @@ * Purpose : |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : jeefo_element.js | ||
* Created at : 2017-01-06 | ||
* Updated at : 2019-11-16 | ||
* Updated at : 2019-12-28 | ||
* Author : jeefo | ||
@@ -106,23 +106,9 @@ * Purpose : | ||
get value () { | ||
switch (this.DOM_element.tagName) { | ||
case "INPUT" : | ||
case "SELECT" : | ||
return this.DOM_element.value; | ||
} | ||
console.warn(`Undefined '${ this.DOM_element.tagName }' input.`); | ||
return this.DOM_element.value; | ||
} | ||
set value (value) { | ||
switch (this.DOM_element.tagName) { | ||
case "INPUT" : | ||
case "SELECT" : | ||
this.DOM_element.value = value; | ||
break; | ||
default: | ||
console.warn( | ||
`Undefined '${ this.DOM_element.tagName }' input.` | ||
); | ||
} | ||
this.DOM_element.value = value; | ||
} | ||
get text () { return this.DOM_element.textContent; } | ||
set text (value) { this.DOM_element.textContent = value; } | ||
get text () { return this.DOM_element.innerText; } | ||
set text (value) { this.DOM_element.innerText = value; } | ||
@@ -129,0 +115,0 @@ get name () { |
{ | ||
"name": "@jeefo/jqlite", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "https://github.com/je3f0o/jeefo_jqlite", | ||
@@ -5,0 +5,0 @@ "copyright": "2018", |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : style_methods.js | ||
* Created at : 2017-08-03 | ||
* Updated at : 2019-10-09 | ||
* Updated at : 2019-12-11 | ||
* Author : jeefo | ||
@@ -122,2 +122,6 @@ * Purpose : | ||
extend_member(JeefoElement, "trigger_reflow", function () { | ||
this.DOM_element.offsetHeight; // jshint ignore:line | ||
}); | ||
// Dimention methods | ||
@@ -124,0 +128,0 @@ const object_define_property = Object.defineProperty; |
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
21366
614