Browse Source

Adds boolean example to dropdown page

pull/367/head
jlukic 11 years ago
parent
commit
1d38efc665
2 changed files with 3 additions and 3 deletions
  1. 4
      server/documents/modules/dropdown.html.eco
  2. 2
      src/modules/dropdown.js

4
server/documents/modules/dropdown.html.eco

@ -64,8 +64,8 @@ type : 'UI Module'
<div class="default text">Gender</div>
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="male">Male</div>
<div class="item" data-value="female">Female</div>
<div class="item" data-value="1">Male</div>
<div class="item" data-value="0">Female</div>
</div>
</div>
</div>

2
src/modules/dropdown.js

@ -796,7 +796,7 @@ $.fn.dropdown.settings = {
transition : 'slide down',
duration : 250,
onChange : function(){},
onChange : function(value, text){},
onShow : function(){},
onHide : function(){},

Loading…
Cancel
Save