BigW Consortium Gitlab

hook.js 332 Bytes
Newer Older
Luke "Jared" Bennett committed
1 2
import DropDown from './drop_down';

3 4 5 6 7 8 9 10 11 12 13
class Hook {
  constructor(trigger, list, plugins, config) {
    this.trigger = trigger;
    this.list = new DropDown(list);
    this.type = 'Hook';
    this.event = 'click';
    this.plugins = plugins || [];
    this.config = config || {};
    this.id = trigger.id;
  }
}
Luke "Jared" Bennett committed
14 15

export default Hook;