Skip to content

Commit 52d8c34

Browse files
committed
[fixup]: Include icons and showText in example
1 parent 09eb354 commit 52d8c34

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

entries/dialog.xml

+7
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,16 @@
105105
<example-value>[
106106
{
107107
text: "Ok",
108+
icons: {
109+
primary: "ui-icon-heart"
110+
},
108111
click: function() {
109112
$( this ).dialog( "close" );
110113
}
114+
115+
// Uncommenting the following line would hide the text,
116+
// resulting in the label being used as a tooltip
117+
//showText: false
111118
}
112119
]</example-value>
113120
<desc>Specifies which buttons should be displayed on the dialog. The context of the callback is the dialog element; if you need access to the button, it is available as the target of the event object.</desc>

0 commit comments

Comments
 (0)