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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
414 B
JavaScript
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
},
});