Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 945 Bytes

README.md

File metadata and controls

48 lines (36 loc) · 945 Bytes

CraftMultiSelect

Is a MultiSelect visual component based on Craft api.

View demo on gh-pages : CraftMultiSelect

Usage

  Elements.multiSelect()

Sample

<script src="http://craftjs.org/js/craft.js">
<select id="my-select" multiple="multiple" name="options_1">
  <option value="test_1" selected="true">test1</option>
  <option value="test_2" selected="true">test2</option>
  <option value="test_3">test3</option>
  <option value="test_4">test4</option>
  <option value="test_5">test5</option>
  <option value="test_6">test6</option>
  <option value="test_7">test7</option>
  <option value="test_8" selected="true">test8</option>
  <option value="test_9">test9</option>
</select>
<script>
  $('my-select').multiSelect()
</script>      

Build

Builds, lints, minifies.

grunt

Launch test page.

npm install
node app