width : numberDefault: undefined

The width of the dropdown.

Examples

JS Config

    
 <select id="dropdown">
     <option value="1">One</option>
     <option value="2">Two</option>
     <option value="3">Three</option>
 </select>
 <script>
     $('#dropdown').dropdown({ width: 200 });
 </script>

  

HTML Config

    
 <select id="dropdown" width="200">
     <option value="1">One</option>
     <option value="2">Two</option>
     <option value="3">Three</option>
 </select>
 <script>
     $('#dropdown').dropdown();
 </script>

  

100 Percent

    
 <select id="dropdown" width="100%">
     <option value=""></option>
     <option value="1">One</option>
     <option value="2">Two</option>
     <option value="3">Three</option>
 </select>
 <script>
     $('#dropdown').dropdown();
 </script>