We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afede8 commit 52fc8e3Copy full SHA for 52fc8e3
ui/jquery.ui.selectmenu.js
@@ -27,6 +27,10 @@ $.widget( "ui.selectmenu", {
27
at: "left bottom",
28
collision: "none"
29
},
30
+ icons: {
31
+ dropdown: "ui-icon-triangle-1-s",
32
+ popup: "ui-icon-triangle-2-n-s"
33
+ },
34
35
// callbacks
36
change: null,
@@ -80,7 +84,7 @@ $.widget( "ui.selectmenu", {
80
84
});
81
85
82
86
this.button.prepend( $( "<span>", {
83
- "class": "ui-icon " + ( ( this.options.dropdown ) ? "ui-icon-triangle-1-s" : "ui-icon-triangle-2-n-s" )
87
+ "class": "ui-icon " + ( this.options.dropdown ? this.options.icons.dropdown : this.options.icons.popup )
88
}));
89
90
this.buttonText = $( "<span>", {
0 commit comments