discourse/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdow...

19 lines
411 B
Plaintext
Raw Normal View History

import ComboBoxComponent from "select-kit/components/combo-box";
2017-10-19 15:51:08 -04:00
export default ComboBoxComponent.extend({
pluginApiIdentifiers: ["topic-footer-mobile-dropdown"],
classNames: ["topic-footer-mobile-dropdown"],
2017-10-19 15:51:08 -04:00
selectKitOptions: {
none: "topic.controls",
filterable: false,
autoFilterable: false
2017-10-19 15:51:08 -04:00
},
actions: {
onChange(value, item) {
item.action && item.action();
}
2017-10-19 15:51:08 -04:00
}
});