Difference between revisions of "User:Podehaye/store.js"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| + | mw.notify( $('<span>storage</span>') ); | ||
| + | |||
mw.loader.using( 'oojs-ui-core' ).done( function () { | mw.loader.using( 'oojs-ui-core' ).done( function () { | ||
$( function () { | $( function () { | ||
Revision as of 01:41, 18 May 2019
mw.notify( $('<span>storage</span>') );
mw.loader.using( 'oojs-ui-core' ).done( function () {
$( function () {
var save = new OO.ui.ButtonWidget( {
label: 'save'
} );
save.on( 'click', function () {
mw.cookie.set( key.getValue(), value.getValue() )});
Append the app widgets
$( '#mw-content-text' ).prepend(
// radio.$element,
// key.$element,
// value.$element,
save.$element,
// show.$element,
// info.$element
);
} );
} );