catch up to mater
This commit is contained in:
parent
6aa9653d35
commit
71e0ea57e8
@ -633,15 +633,19 @@ function log(e) {
|
|||||||
e.animate({opacity:1}, 10000, 'linear', function() { e.animate({opacity:0}, 2000, 'linear', function() {e.remove(); }); });
|
e.animate({opacity:1}, 10000, 'linear', function() { e.animate({opacity:0}, 2000, 'linear', function() {e.remove(); }); });
|
||||||
}
|
}
|
||||||
$("#e11")
|
$("#e11")
|
||||||
.on("change", function(e) { log(JSON.stringify({val:e.val, added:e.added, removed:e.removed})); })
|
.on("change", function(e) { log("change "+JSON.stringify({val:e.val, added:e.added, removed:e.removed})); })
|
||||||
.on("opening", function() { log("opening"); })
|
.on("opening", function() { log("opening"); })
|
||||||
.on("open", function() { log("open"); })
|
.on("open", function() { log("open"); })
|
||||||
.on("highlight", function(e) { log ("highlighted val="+ e.val+" choice="+ JSON.stringify(e.choice));});
|
.on("highlight", function(e) { log ("highlighted val="+ e.val+" choice="+ JSON.stringify(e.choice));})
|
||||||
|
.on("selected", function(e) { log ("selected val="+ e.val+" choice="+ JSON.stringify(e.choice));})
|
||||||
|
.on("removed", function(e) { log ("removed val="+ e.val+" choice="+ JSON.stringify(e.choice));});
|
||||||
$("#e11_2")
|
$("#e11_2")
|
||||||
.on("change", function(e) { log(JSON.stringify({val:e.val, added:e.added, removed:e.removed})); })
|
.on("change", function(e) { log("change "+JSON.stringify({val:e.val, added:e.added, removed:e.removed})); })
|
||||||
.on("opening", function() { log("opening"); })
|
.on("opening", function() { log("opening"); })
|
||||||
.on("open", function() { log("open"); })
|
.on("open", function() { log("open"); })
|
||||||
.on("highlight", function(e) { log ("highlighted val="+ e.val+" choice="+ JSON.stringify(e.choice));});
|
.on("highlight", function(e) { log ("highlighted val="+ e.val+" choice="+ JSON.stringify(e.choice));})
|
||||||
|
.on("selected", function(e) { log ("selected val="+ e.val+" choice="+ JSON.stringify(e.choice));})
|
||||||
|
.on("removed", function(e) { log ("removed val="+ e.val+" choice="+ JSON.stringify(e.choice));});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
@ -1577,6 +1581,32 @@ $("#tags").select2({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="span12">
|
||||||
|
<h3>selected</h3>
|
||||||
|
<p>Fired when a choice is selected in the dropdown.</p>
|
||||||
|
</p>
|
||||||
|
<p>The event object contains the following custom properties:
|
||||||
|
<dl>
|
||||||
|
<dt>val</dt><dd>the id of the highlighted choice object</dd>
|
||||||
|
<dt>object</dt><dd>the highlighted choice object</dd>
|
||||||
|
</dl>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row zebra">
|
||||||
|
<div class="span12">
|
||||||
|
<h3>removed</h3>
|
||||||
|
<p>Fired when a choice is removed or cleared</p>
|
||||||
|
</p>
|
||||||
|
<p>The event object contains the following custom properties:
|
||||||
|
<dl>
|
||||||
|
<dt>val</dt><dd>the id of the highlighted choice object</dd>
|
||||||
|
<dt>object</dt><dd>the highlighted choice object</dd>
|
||||||
|
</dl>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d54378563c3a9d7cda535a115cedb6abe9ac0b12
|
Subproject commit a4c76f2dfb0b9a438c59a8a7409d2e7bf1ef16bf
|
Loading…
x
Reference in New Issue
Block a user