Skip to content

Commit 61e425b

Browse files
authored
Dialog: Document the uiDialogTitleHeadingLevel option
Ref jquery/jquery-ui#2271 Ref jquery/jquery-ui#2275
1 parent 1c46b8e commit 61e425b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

entries/dialog.xml

+6
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@
196196
<desc>Specifies the title of the dialog. If the value is <code>null</code>, the <code>title</code> attribute on the dialog source element will be used.</desc>
197197
<type name="String" />
198198
</option>
199+
<option name="uiDialogTitleHeadingLevel" default="0" example-value="1" added="1.14.1">
200+
<desc>
201+
<p>Specifies the heading level that wraps the title of the dialog. For a value between <code>1</code> to <code>6</code>, <code>h1</code> to <code>h6</code> is returned. Any other value, including the default <code>0</code>, uses a <code>span</code> instead.</p>
202+
</desc>
203+
<type name="Number" />
204+
</option>
199205
<option name="width" default="300" example-value="500">
200206
<desc>The width of the dialog, in pixels.</desc>
201207
<type name="Number" />

0 commit comments

Comments
 (0)