forked from vitmalina/w2ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathw2toolbar-methods.php
100 lines (86 loc) · 3.18 KB
/
w2toolbar-methods.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<link rel="stylesheet" type="text/css" href="../summary.css"/>
<div class="container"><div class="obj-property">
<a href="w2toolbar.add">add</a> <span>- add(items)</span>
</div>
<div class="obj-property-desc">
Adds a toolbar item or items.
</div>
<div class="obj-property">
<a href="w2toolbar.check">check</a> <span>- check(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Checks toolbar item or items with <span class="argument">id</span> (visually looks like pressed button).
</div>
<div class="obj-property">
<a href="w2toolbar.click">click</a> <span>- click(id, [event])</span>
</div>
<div class="obj-property-desc">
Called when user clicks on a toolbar item.
</div>
<div class="obj-property">
<a href="w2toolbar.disable">disable</a> <span>- disable(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Disables toolbar item or items with <span class="argument">id</span>.
</div>
<div class="obj-property">
<a href="w2toolbar.enable">enable</a> <span>- enable(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Enables toolbar item or items with <span class="argument">id</span>.
</div>
<div class="obj-property">
<a href="w2toolbar.get">get</a> <span>- get(id, [returnIndex])</span>
</div>
<div class="obj-property-desc">
Finds toolbar item with <span class="argument">id</span> and returns it or its index.
</div>
<div class="obj-property">
<a href="w2toolbar.getItemHTML">getItemHTML</a> <span>- getItemHTML(item)</span>
</div>
<div class="obj-property-desc">
Generates HTML for the toolbar item.
</div>
<div class="obj-property">
<a href="w2toolbar.hide">hide</a> <span>- hide(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Hides toolbar item or items with <span class="argument">id</span>.
</div>
<div class="obj-property">
<a href="w2toolbar.insert">insert</a> <span>- insert(before, items)</span>
</div>
<div class="obj-property-desc">
Inserts a toolbar item or items before item with id=<span class="argument">before</span>.
</div>
<div class="obj-property">
<a href="w2toolbar.menuClick">menuClick</a> <span>- menuClick(id, menu_index, [event])</span>
</div>
<div class="obj-property-desc">
Called when user selects an item from a drop down menu.
</div>
<div class="obj-property">
<a href="w2toolbar.remove">remove</a> <span>- remove(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Removes items from the toolbar.
</div>
<div class="obj-property">
<a href="w2toolbar.set">set</a> <span>- set(id, item)</span>
</div>
<div class="obj-property-desc">
Finds toolbar item with <span class="argument">id</span> and extends it with <span class="argument">item</span> object.
</div>
<div class="obj-property">
<a href="w2toolbar.show">show</a> <span>- show(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Shows toolbar item or items with <span class="argument">id</span>.
</div>
<div class="obj-property">
<a href="w2toolbar.uncheck">uncheck</a> <span>- uncheck(id1, [id2], ...)</span>
</div>
<div class="obj-property-desc">
Unchecks toolbar item or items with <span class="argument">id</span> (visually looks like pressed button).
</div>
</div>