Demo homepage

From evidyaloka
Revision as of 00:59, 21 December 2022 by Wikividya (Talk | contribs) (Created page with "var dropdownInput = new OO.ui.DropdownInputWidget( { options: [ { data: 'a', label: 'First' }, { data: 'b', label: 'Second', disabled: true }, { op...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

var dropdownInput = new OO.ui.DropdownInputWidget( {

   options: [
       { data: 'a', label: 'First' },
       { data: 'b', label: 'Second', disabled: true },
       { optgroup: 'Group label' },
       { data: 'c', label: 'First sub-item)' }
   ]

} ); $( document.body ).append( dropdownInput.$element );