User:DAlangi (WMF)/common.js

/** * Testing out some functionalities */ mw.loader.using( 'oojs-ui', 'oojs-ui-core', 'oojs-ui.styles.icons-editing-core' ).done( function {	$( function  { var dropDown = new OO.ui.MenuTagMultiselectWidget( {			label: "Field",		   options: [		        { data: 'a', label: 'First' } ,		        { data: 'b', label: 'Second'} ,		        { data: 'c', label: 'Third' }		    ],		    indicator: 'required',		    required: true,		    class: 'drop'		} ); $( '#mw-content-text' ).append( dropDown.$element ); } ); } );