Difference between revisions of "Demo homepage"
From evidyaloka
Line 5: | Line 5: | ||
<htmltag tagname="script" type="text/javascript"> | <htmltag tagname="script" type="text/javascript"> | ||
− | + | 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 ); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 04:02, 22 December 2022
Evidyaloka Welcomes you!!