blob: 8a8dcde9f88f249dd9a5a7ce7f8500fa4bd9f65c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import DropDown from './drop_down';
class Hook {
constructor(trigger, list, plugins, config) {
this.trigger = trigger;
this.list = new DropDown(list, config);
this.type = 'Hook';
this.event = 'click';
this.plugins = plugins || [];
this.config = config || {};
this.id = trigger.id;
}
}
export default Hook;
|