Skip to content

Commit 0bf6576

Browse files
fnagelscottgonzalez
authored andcommitted
Selectmenu: Add width option
1 parent 6a48334 commit 0bf6576

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entries/selectmenu.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<option name="position" type="Object" default='{ my: "left top", at: "left bottom", collision: "none" }' example-value='{ my : "left+10 center", at: "right center" }'>
5151
<desc>Identifies the position of the menu in relation to the associated button element. You can refer to the <a href="/position">jQuery UI Position</a> utility for more details about the various options.</desc>
5252
</option>
53+
<option name="width" default="null" example-value="200">
54+
<desc>The width of the selectmenu, in pixels. When the value is <code>null</code>, the width of the native select will be used.</desc>
55+
<type name="Number" />
56+
</option>
5357
</options>
5458
<events>
5559
<event name="change">

0 commit comments

Comments
 (0)