Skip to content

Commit c5f7cc9

Browse files
Gabriel Schulhofapsdehal
Gabriel Schulhof
authored andcommitted
Collapsible: Document methods expand() and collapse()
Closes gh-279 Fixes gh-269
1 parent 98af578 commit c5f7cc9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

entries/collapsible.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,19 @@
234234
</event>
235235
</events>
236236
<methods>
237+
<method name="collapse">
238+
<desc>
239+
Collapses the <placeholder name="name"/>.
240+
</desc>
241+
</method>
237242
<xi:include href="../includes/widget-method-destroy.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
238243
<xi:include href="../includes/widget-method-disable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
239244
<xi:include href="../includes/widget-method-enable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
245+
<method name="expand">
246+
<desc>
247+
Expands the <placeholder name="name"/>.
248+
</desc>
249+
</method>
240250
<xi:include href="../includes/widget-method-option.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
241251
</methods>
242252
<example>

0 commit comments

Comments
 (0)