File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ module.exports = {
20
20
}
21
21
} ,
22
22
toggleWidget : ( options ) => {
23
+ // widgetId: widget identifier
24
+ // icon: icon to be displayed
25
+ // showMessage: label or tooltip to be displayed when not toggled
26
+ // hideMessage: label or tooltip to be displayed when toggled
27
+ // renderer: renderer of the action
23
28
const params = Object . assign ( { renderer : 'item' } , options )
24
29
return {
25
30
id : `toggle-${ params . widgetId } ` ,
@@ -36,6 +41,11 @@ module.exports = {
36
41
}
37
42
} ,
38
43
toggleSticky : ( options ) => {
44
+ // stickyId: sticky identifier
45
+ // icon: icon to be displayed
46
+ // showMessage: label or tooltip to be displayed when not toggled
47
+ // hideMessage: label or tooltip to be displayed when toggled
48
+ // renderer: renderer of the action
39
49
const params = Object . assign ( { renderer : 'item' } , options )
40
50
return {
41
51
id : `toggle-${ params . stickyId } ` ,
You can’t perform that action at this time.
0 commit comments