Difference between revisions of "User:Sammp/TestOOUI"

From GNU Radio
Jump to navigation Jump to search
Line 1: Line 1:
input.on( 'enter', function () {
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}">{{{1|Button text}}}</span>
// Add the item
list.addItems( [
new OO.ui.OptionWidget( {
data: input.getValue(),
label: input.getValue()
} )
] );
} );

Revision as of 23:54, 19 February 2022

Button text