diff options
author | Ralf Koller <1665422+rpkoller@users.noreply.github.com> | 2024-09-09 17:55:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 17:55:58 +0200 |
commit | d564731f20a5eee6c6e373344a2bd6fc9d047e63 (patch) | |
tree | 9b68f3c3f2bd0ec4f41d64bd5b15c5e63973b257 /tests/unit/dialog/common.js | |
parent | fd1b8a03b22411e68e703426fb85a2566318623d (diff) | |
download | jquery-ui-d564731f20a5eee6c6e373344a2bd6fc9d047e63.tar.gz jquery-ui-d564731f20a5eee6c6e373344a2bd6fc9d047e63.zip |
Dialog: Add option to put the dialog title in a header element
Implement a new option: `uiDialogTitleHeadingLevel`, allowing to change
the `span` wrapping the dialog title into a heading element (`h1`-`h6`).
Value `0` represents the `span`, values 1-6 - a heading at the specified
level.
Fixes gh-2271
Closes gh-2275
Diffstat (limited to 'tests/unit/dialog/common.js')
-rw-r--r-- | tests/unit/dialog/common.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/dialog/common.js b/tests/unit/dialog/common.js index c8d885ad0..f31181047 100644 --- a/tests/unit/dialog/common.js +++ b/tests/unit/dialog/common.js @@ -33,6 +33,7 @@ common.testWidget( "dialog", { resizable: true, show: null, title: null, + uiDialogTitleHeadingLevel: 0, width: 300, // Callbacks |