##// END OF EJS Templates
optionally 1n, 2l
Matthias BUSSONNIER -
Show More
@@ -28,9 +28,9 b' var IPython = (function (IPython) {'
28 // icon : string -- the jQuery-ui icon to add on this button
28 // icon : string -- the jQuery-ui icon to add on this button
29 // callback : function -- the callback to execute on a click
29 // callback : function -- the callback to execute on a click
30 //
30 //
31 // and optionnaly an 'id' key that is assigned to the button element
31 // and optionally an 'id' key that is assigned to the button element
32 //
32 //
33 // Second Argument, optionnal,
33 // Second Argument, optional,
34 // string reprensenting the id to give to the button group.
34 // string reprensenting the id to give to the button group.
35 //
35 //
36 // Example
36 // Example
@@ -39,7 +39,7 b' var IPython = (function (IPython) {'
39 // {label:'my button',
39 // {label:'my button',
40 // icon:'ui-icon-disk',
40 // icon:'ui-icon-disk',
41 // callback:function(){alert('hoho'),
41 // callback:function(){alert('hoho'),
42 // id : 'my_button_id', // this is optionnal
42 // id : 'my_button_id', // this is optional
43 // }
43 // }
44 // },
44 // },
45 // {label:'my second button',
45 // {label:'my second button',
General Comments 0
You need to be logged in to leave comments. Login now