conditionize
Advanced tools
Comparing version 1.0.2 to 1.0.3
/*! | ||
* Name : Conditionize - jQuery conditions for forms | ||
* Version : 1.0.2 | ||
* Version : 1.0.3 | ||
* Author : nK <https://nkdev.info> | ||
@@ -5,0 +5,0 @@ * GitHub : https://github.com/nk-o/conditionize |
/*! | ||
* Name : Conditionize - jQuery conditions for forms | ||
* Version : 1.0.2 | ||
* Version : 1.0.3 | ||
* Author : nK <https://nkdev.info> | ||
@@ -5,0 +5,0 @@ * GitHub : https://github.com/nk-o/conditionize |
{ | ||
"name": "conditionize", | ||
"title": "Conditionize - jQuery conditions for forms", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "jQuery plugin for forms conditions to show/hide controls depending on its values", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -18,2 +18,8 @@ ## Conditionize | ||
#### ES6 import | ||
To use with a bundler like browserify or webpack | ||
```javascript | ||
import 'conditionize'; | ||
``` | ||
## Set up your HTML | ||
@@ -23,5 +29,5 @@ ```html | ||
<h1>Conditionize</h1> | ||
<input type="text" name="text-control" placeholder="Type 'magic'"> | ||
<div data-cond="[name=text-control] == magic">Magically show when text control contains 'magic' word.</div> | ||
@@ -41,3 +47,3 @@ | ||
</label> | ||
<div> | ||
@@ -44,0 +50,0 @@ <a href="https://github.com/nk-o/conditionize" data-cond="[name=select-control] == 3 && [name=checkbox-control] == true">GitHub</a> |
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
76655
119