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

Failed to ignore revisions in .git-blame-ignore-revs.

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