|
@@ -4,13 +4,13 @@
|
|
|
<meta charset="utf-8">
|
|
|
<title>Bootstrap switch - by Mattia Larentis</title>
|
|
|
<meta name="author" content="Mattia Larentis">
|
|
|
- <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;"/>
|
|
|
- <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css"
|
|
|
- rel="stylesheet">
|
|
|
- <link href="../static/stylesheets/bootstrapSwitch.css"
|
|
|
- rel="stylesheet">
|
|
|
- <link href="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.css"
|
|
|
- rel="stylesheet">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8;" />
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
|
|
|
+ <link rel="stylesheet" href="../static/stylesheets/bootstrapSwitch.css">
|
|
|
+ <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/js/google-code-prettify/prettify.css">
|
|
|
+ <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/docs.css">
|
|
|
+
|
|
|
<style>
|
|
|
.span4, h1 {
|
|
|
text-align: center;
|
|
@@ -26,22 +26,24 @@
|
|
|
</style>
|
|
|
</head>
|
|
|
<body style="padding-top: 50px;">
|
|
|
+
|
|
|
<a href="https://github.com/nostalgiaz/bootstrap-switch"><img
|
|
|
- style="position: absolute; top: 0; right: 0; border: 0;"
|
|
|
- src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
|
|
|
- alt="Fork me on GitHub"></a>
|
|
|
+ style="position: absolute; top: 0; right: 0; border: 0;"
|
|
|
+ src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
|
|
|
+ alt="Fork me on GitHub"></a>
|
|
|
|
|
|
-<div class="container-fluid">
|
|
|
+<div class="container">
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
<h1>Bootstrap switch
|
|
|
- <small>- by <a href="http://larentis.eu">Mattia Larentis</a></small>
|
|
|
+ <small>- by <a href="http://larentis.eu">Mattia Larentis</a> <a href="https://twitter.com/spiritualguru">(@SpiritualGuru)</a>
|
|
|
+ </small>
|
|
|
</h1>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
- <div class="span6 offset3" style="text-align: center;">
|
|
|
+ <div class="span8 offset2" style="text-align: center;">
|
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=watch&count=true"
|
|
|
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
|
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=fork&count=true"
|
|
@@ -53,255 +55,302 @@
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Large</h3>
|
|
|
- <hr>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-
|
|
|
+ <h3>Size</h3>
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch switch-large">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="switch switch-small">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="switch switch-mini">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<div class="switch switch-large">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
|
|
|
-<div class="row-fluid">
|
|
|
+<div class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div id="mySwitch" class="switch switch-large" data-on="danger"
|
|
|
- data-off="warning">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
+<div class="switch switch-small">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
|
|
|
- <h4>Html:</h4>
|
|
|
- <pre class="prettyprint linenums">
|
|
|
-<div id="mySwitch" class="switch switch-large" data-on="danger" data-off="warning">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+<div class="switch switch-mini">
|
|
|
+ <input type="checkbox" checked />
|
|
|
</div></pre>
|
|
|
- <h4>Js:</h4>
|
|
|
- <pre class="prettyprint linenums">
|
|
|
-$('#mySwitch').on('switch-change', function (e, data) {
|
|
|
- var $el = $(data.el)
|
|
|
- , value = data.value;
|
|
|
- console.log(e, $el, value);
|
|
|
-});</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Normal</h3>
|
|
|
- <hr>
|
|
|
+ <h3>Colors</h3>
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch" data-on="primary" data-off="info">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <div class="switch" data-on="info" data-off="success">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <div class="switch" data-on="success" data-off="warning">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <div class="switch" data-on="warning" data-off="danger">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <div class="switch" data-on="danger" data-off="primary">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<div class="switch" data-on="primary" data-off="info">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="switch" data-on="info" data-off="success">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="switch" data-on="success" data-off="warning">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="switch" data-on="warning" data-off="danger">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="switch" data-on="danger" data-off="primary">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+</div>
|
|
|
+</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
+ <div class="span12">
|
|
|
+ <h3>Animation</h3>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div class="switch" data-animated="false">
|
|
|
- <input type="checkbox">
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch" data-animated="false">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
- <pre class="prettyprint linenums">
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
<div class="switch" data-animated="false">
|
|
|
- <input type="checkbox">
|
|
|
+ <input type="checkbox" checked />
|
|
|
</div></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Small</h3>
|
|
|
- <hr>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div class="row-fluid">
|
|
|
+ <h3>Disabled</h3>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div class="switch switch-small">
|
|
|
- <input type="checkbox" checked="checked" disabled="disabled">
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch">
|
|
|
+ <input type="checkbox" checked disabled />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
- <pre class="prettyprint linenums">
|
|
|
-<div class="switch switch-small">
|
|
|
- <input type="checkbox" checked="checked" disabled="disabled">
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<div class="switch">
|
|
|
+ <input type="checkbox" checked disabled />
|
|
|
</div></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Mini</h3>
|
|
|
- <hr>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div class="row-fluid">
|
|
|
+ <h3>Text</h3>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div class="switch switch-mini">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch" data-on-label="SI" data-off-label="NO">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
- <pre class="prettyprint linenums">
|
|
|
-<div class="switch switch-mini">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<div class="switch" data-on-label="SI" data-off-label="NO">
|
|
|
+ <input type="checkbox" checked />
|
|
|
</div></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Toggle State</h3>
|
|
|
- <hr>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div class="row-fluid">
|
|
|
+ <h3>HTML text</h3>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div id="toggle-state-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div class="switch" data-on-label="<i class='icon-ok icon-white'></i>" data-off-label="<i class='icon-remove'></i>">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <br>
|
|
|
- <br>
|
|
|
-
|
|
|
- <div id="toggle-state-switch-button-on" class="btn btn-primary">ON!</div>
|
|
|
- <div id="toggle-state-switch-button" class="btn btn-primary">Toggle me!</div>
|
|
|
- <div id="toggle-state-switch-button-off" class="btn btn-primary">OFF!</div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-<div id="toggle-state-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<div class="switch" data-on-label="<i class='icon-ok icon-white'></i>" data-off-label="<i class='icon-remove'></i>">
|
|
|
+ <input type="checkbox" checked />
|
|
|
</div></pre>
|
|
|
- <h4>Js:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-$('#toggle-state-switch').bootstrapSwitch('toggleState');
|
|
|
-$('#toggle-state-switch').bootstrapSwitch('setState', false); // true || false
|
|
|
-</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Destroy</h3>
|
|
|
- <hr>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<div class="row-fluid">
|
|
|
+ <h3>Event handler <small>javascript</small></h3>
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div id="destroy-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div id="mySwitch" class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <br>
|
|
|
- <br>
|
|
|
- <button id="btn-destroy-switch" class="btn btn-danger">
|
|
|
- Destroy me!
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-<div id="destroy-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
-</div></pre>
|
|
|
- <h4>Js:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-$('#destroy-switch').bootstrapSwitch('destroy');
|
|
|
-</pre>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+$('#mySwitch').on('switch-change', function (e, data) {
|
|
|
+ var $el = $(data.el)
|
|
|
+ , value = data.value;
|
|
|
+ console.log(e, $el, value);
|
|
|
+});</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Disabled</h3>
|
|
|
- <hr>
|
|
|
+ <h3>Toggle State <small>javascript</small></h3>
|
|
|
+
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div id="toggle-state-switch" class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ <br>
|
|
|
+ <div id="toggle-state-switch-button-on" class="btn btn-primary">ON!</div>
|
|
|
+ <div id="toggle-state-switch-button" class="btn btn-primary">Toggle me!</div>
|
|
|
+ <div id="toggle-state-switch-button-off" class="btn btn-primary">OFF!</div>
|
|
|
+ </div>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+$('#toggle-state-switch').bootstrapSwitch('toggleState');
|
|
|
+$('#toggle-state-switch').bootstrapSwitch('setState', false); // true || false</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<div class="row-fluid">
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div id="disable-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
- </div>
|
|
|
- <br>
|
|
|
- <br>
|
|
|
- <button id="btn-is-active-switch" class="btn">
|
|
|
- Is active?
|
|
|
- </button>
|
|
|
- <button id="btn-toggle-activation-switch" class="btn">
|
|
|
- Toggle activation!
|
|
|
- </button>
|
|
|
- <button id="btn-disable-switch" class="btn">
|
|
|
- Disable!
|
|
|
- </button>
|
|
|
- <button id="btn-activate-switch" class="btn">
|
|
|
- Activate!
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
|
|
|
- <h4>Html:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-<div id="disable-switch" class="switch">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
-</div></pre>
|
|
|
- <h4>Js:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-$('#disable-switch').bootstrapSwitch('isActive');
|
|
|
-$('#disable-switch').bootstrapSwitch('toggleActivation');
|
|
|
-$('#disable-switch').bootstrapSwitch('setActive', false);
|
|
|
-$('#disable-switch').bootstrapSwitch('setActive', true);
|
|
|
-</pre>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>Label</h3>
|
|
|
- <hr>
|
|
|
+ <h3>Destroy <small>javascript</small></h3>
|
|
|
+
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div id="destroy-switch" class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ <br>
|
|
|
+ <button id="btn-destroy-switch" class="btn btn-danger">
|
|
|
+ Destroy me!
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+$('#destroy-switch').bootstrapSwitch('destroy');</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<div class="row-fluid">
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div class="switch" data-on-label="SI" data-off-label="NO">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
|
|
|
- <h4>Html:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-<div class="switch" data-on-label="SI" data-off-label="NO">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
-</div></pre>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
<div class="row-fluid">
|
|
|
<div class="span12">
|
|
|
- <h3>HTML Label</h3>
|
|
|
- <hr>
|
|
|
+ <h3>Disabled <small>javascript</small></h3>
|
|
|
+
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <div id="disable-switch" class="switch">
|
|
|
+ <input type="checkbox" checked />
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ <br>
|
|
|
+ <button id="btn-is-active-switch" class="btn">
|
|
|
+ Is active?
|
|
|
+ </button>
|
|
|
+ <button id="btn-toggle-activation-switch" class="btn">
|
|
|
+ Toggle activation!
|
|
|
+ </button>
|
|
|
+ <button id="btn-disable-switch" class="btn">
|
|
|
+ Disable!
|
|
|
+ </button>
|
|
|
+ <button id="btn-activate-switch" class="btn">
|
|
|
+ Activate!
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+$('#disable-switch').bootstrapSwitch('isActive');
|
|
|
+$('#disable-switch').bootstrapSwitch('toggleActivation');
|
|
|
+$('#disable-switch').bootstrapSwitch('setActive', false); // true || false</pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<div class="row-fluid">
|
|
|
|
|
|
- <div class="span4">
|
|
|
- <div class="switch" data-on-label="<i class='icon-ok icon-white'></i>" data-off-label="<i class='icon-remove'></i>">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
+<div class="row-fluid">
|
|
|
+ <div class="span12">
|
|
|
+ <h3>Form <small>- try to use tab and space</small></h3>
|
|
|
+
|
|
|
+ <div class="bs-docs-example">
|
|
|
+ <form class="form-horizontal span8 offset2">
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="inputEmail">Email</label>
|
|
|
+ <div class="controls">
|
|
|
+ <input type="text" id="inputEmail" placeholder="Email">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="notification1">Notification 1</label>
|
|
|
+
|
|
|
+ <div class="controls">
|
|
|
+ <div class="switch" tabindex="0">
|
|
|
+ <input id="notification1" type="checkbox" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="notification1">Notification 2</label>
|
|
|
+
|
|
|
+ <div class="controls">
|
|
|
+ <div class="switch" tabindex="0">
|
|
|
+ <input id="notification2" type="checkbox" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ <div class="clearfix"></div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="span8">
|
|
|
-
|
|
|
- <h4>Html:</h4>
|
|
|
-<pre class="prettyprint linenums">
|
|
|
-<div class="switch" data-on-label="<i class='icon-ok icon-white'></i>" data-off-label="<i class='icon-remove'></i>">
|
|
|
- <input type="checkbox" checked="checked">
|
|
|
-</div></pre>
|
|
|
+ <pre class="prettyprint linenums">
|
|
|
+<form class="form-horizontal">
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="inputEmail">Email</label>
|
|
|
+ <div class="controls">
|
|
|
+ <input type="text" id="inputEmail" placeholder="Email">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="notification1">Notification 1</label>
|
|
|
+ <div class="controls">
|
|
|
+ <div class="switch" tabindex="0">
|
|
|
+ <input id="notification1" type="checkbox" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label" for="notification1">Notification 2</label>
|
|
|
+ <div class="controls">
|
|
|
+ <div class="switch" tabindex="0">
|
|
|
+ <input id="notification2" type="checkbox" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</form></pre>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<p class="pull-right">
|
|
|
<a href="https://twitter.com/SpiritualGuru">follow me</a> -
|
|
|
<a href="http://www.larentis.eu">my site</a>
|
|
@@ -315,7 +364,7 @@ $('#disable-switch').bootstrapSwitch('setActive', true);
|
|
|
window.prettyPrint && prettyPrint();
|
|
|
$('#mySwitch').on('switch-change', function (e, data) {
|
|
|
var $el = $(data.el)
|
|
|
- , value = data.value;
|
|
|
+ , value = data.value;
|
|
|
console.log(e, $el, value);
|
|
|
});
|
|
|
|