User:Lyiriyah/Gadget-tabledropdown.js: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(test adding dropdown)
 
No edit summary
 
Line 1: Line 1:
(function () {  
(function () {  
var dropdown = new OO.ui.DropdownWidget({ label: 'Tables' });
var dropdown = new OO.ui.DropdownWidget({ label: 'Tables' });
dropdown.menu.addItems([OO.ui.MenuOptionWidget({ label: 'Original caps' })]);
})();
})();

Latest revision as of 16:29, 20 February 2022

(function () { 
	var dropdown = new OO.ui.DropdownWidget({ label: 'Tables' });
	dropdown.menu.addItems([OO.ui.MenuOptionWidget({ label: 'Original caps' })]);
})();