Skip to content

Commit 4b7d50f

Browse files
committed
Accordion: refresh() also detects header/panel addition/removal in the DOM. Use consistent wording with the tabs widget.
1 parent 1bcb2ab commit 4b7d50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/accordion.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<xi:include href="../includes/widget-method-enable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
178178
<xi:include href="../includes/widget-method-option.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
179179
<method name="refresh">
180-
<desc>Recompute the height of the accordion panels. Results depend on the content and the <a href="#option-heightStyle"><code>heightStyle</code></a> option.</desc>
180+
<desc>Process any headers and panels that were added or removed directly in the DOM and recompute the height of the accordion panels. Results depend on the content and the <a href="#option-heightStyle"><code>heightStyle</code></a> option.</desc>
181181
</method>
182182
<xi:include href="../includes/widget-method-widget.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
183183
</methods>

0 commit comments

Comments
 (0)