File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,10 @@ <h2><a href="../buttons/buttons-grouped.html">Controlgroup</a></h2>
185185 < h2 > < a href ="../pages/dialog/index.html "> Dialog</ a > </ h2 >
186186 < p > Container with < code > data-role="dialog"</ code > or linked to with < code > data-rel="dialog"</ code > on the anchor.</ p >
187187 < table >
188+ < tr >
189+ < th > data-close-btn</ th >
190+ < td > < strong > left</ strong > | right | none</ td >
191+ </ tr >
188192 < tr >
189193 < th > data-close-btn-text</ th >
190194 < td > string - Text for the close button, dialog only</ td >
Original file line number Diff line number Diff line change @@ -40,6 +40,15 @@ <h2>Dialog</h2>
4040
4141 < dl >
4242
43+ < dt > < code > closeBtn</ code > < em > string</ em > </ dt >
44+ < dd >
45+ < p class ="default "> default: "left"</ p >
46+ < p > Sets the position of the dialog close button in the header (left or right) or prevents the framework from adding a close button (none).</ p >
47+ < p > This option is also exposed as a data attribute: < code > data-close-btn</ code > .</ p >
48+
49+ < pre > < code > $( ".selector" ).dialog(< strong > { closeBtn: "none" }</ strong > );</ code > </ pre >
50+ </ dd >
51+
4352 < dt > < code > closeBtnText</ code > < em > string</ em > </ dt >
4453 < dd >
4554 < p class ="default "> default: "Close"</ p >
You can’t perform that action at this time.
0 commit comments