dom-render
Advanced tools
Comparing version 1.0.32 to 1.0.33
@@ -209,3 +209,3 @@ 'use strict'; | ||
this.attrPrefix = 'dr-'; | ||
this.eventNames = ['click', 'change', 'keyup', 'keydown', 'input']; | ||
this.eventNames = ['click', 'change', 'keyup', 'keydown', 'input', 'submit']; | ||
this.attrNames = [ | ||
@@ -212,0 +212,0 @@ this.attrPrefix + 'value', |
@@ -9,3 +9,3 @@ "use strict"; | ||
this.attrPrefix = 'dr-'; | ||
this.eventNames = ['click', 'change', 'keyup', 'keydown', 'input']; | ||
this.eventNames = ['click', 'change', 'keyup', 'keydown', 'input', 'submit']; | ||
this.attrNames = [ | ||
@@ -12,0 +12,0 @@ this.attrPrefix + 'value', |
{ | ||
"name": "dom-render", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"main": "DomRender.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -45,3 +45,5 @@ dom-render | ||
keyup: <input type="text" dr-event-keyup="this.name = $target.value"> <br> | ||
keydown: <input type="text" dr-event-keydown="this.name = $target.value"> | ||
keydown: <input type="text" dr-event-keydown="this.name = $target.value"><br> | ||
submit: <form dr-event-submit="console.log($event); $event.preventDefault();"><input type="text"> <button type="submit">submit</button></form><br> | ||
window-event-popstate: <input type="text" dr-window-event-popstate="alert(this.name)"><br> | ||
</div> | ||
@@ -48,0 +50,0 @@ |
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
118056
112