Difference between revisions of "User:Podehaye/store.js"

From Wikibase Personal data
Jump to navigation Jump to search
Line 1: Line 1:
 
mw.notify( $('<span>storage</span>') );
 
mw.notify( $('<span>storage</span>') );
 
 
mw.loader.using( 'oojs-ui-core' ).done( function () {
 
mw.loader.using( 'oojs-ui-core' ).done( function () {
$( 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
 
);
 
 
 
} );
 
 
 
} );
 

Revision as of 01:43, 18 May 2019

mw.notify( $('<span>storage</span>') );
mw.loader.using( 'oojs-ui-core' ).done( function () {
$( function () {} );})