User:FlyingRagnar/timeless.js: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
(Created page with "mw.loader.using( 'oojs-ui-core' ).done( function () { $( function () { var button = new OO.ui.ButtonWidget( { label: 'Click me!' } ); button.on( 'click', function...")
 
(Blanked the page)
Tag: Blanking
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
mw.loader.using( 'oojs-ui-core' ).done( function () {
 
$( function () {
var button = new OO.ui.ButtonWidget( {
label: 'Click me!'
} );
button.on( 'click', function () {
alert( 'You clicked the button!' );
} );
$( '#mw-content-text' ).append( button.$element );
} );
} );

Latest revision as of 03:18, 29 May 2020