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