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