mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
19 lines
414 B
JavaScript
19 lines
414 B
JavaScript
import ComboBoxComponent from "select-kit/components/combo-box";
|
|
|
|
export default ComboBoxComponent.extend({
|
|
pluginApiIdentifiers: ["topic-footer-mobile-dropdown"],
|
|
classNames: ["topic-footer-mobile-dropdown"],
|
|
|
|
selectKitOptions: {
|
|
none: "topic.controls",
|
|
filterable: false,
|
|
autoFilterable: false,
|
|
},
|
|
|
|
actions: {
|
|
onChange(value, item) {
|
|
item.action && item.action();
|
|
},
|
|
},
|
|
});
|