@olton/query
Advanced tools
Comparing version 0.4.19 to 0.5.0
{ | ||
"name": "@olton/query", | ||
"version": "0.4.19", | ||
"version": "0.5.0", | ||
"description": "Query is a minimalist JavaScript library for manipulating with HTML Elements", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -71,3 +71,15 @@ import {inViewport} from "../helpers/in-viewport.js"; | ||
}) | ||
}, | ||
disable(){ | ||
return this.each((_, el)=>{ | ||
$(el).attr("disabled", "disabled") | ||
}) | ||
}, | ||
enable(){ | ||
return this.each((_, el)=>{ | ||
$(el).removeAttr("disabled") | ||
}) | ||
} | ||
} |
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
10684367
3347