discourse/app/assets/javascripts/select-kit/components/topic-footer-mobile-dropdown.js.es6

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

19 lines
411 B
Plaintext
Raw Normal View History

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