Difference between revisions of "Demo homepage"

From evidyaloka
Jump to: navigation, search
(Created page with "var dropdownInput = new OO.ui.DropdownInputWidget( { options: [ { data: 'a', label: 'First' }, { data: 'b', label: 'Second', disabled: true }, { op...")
(No difference)

Revision as of 00:59, 21 December 2022

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 );