debian-mirror-gitlab/app/assets/javascripts/droplab/hook.js
2017-09-10 17:25:29 +05:30

15 lines
332 B
JavaScript

import DropDown from './drop_down';
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;
}
}
export default Hook;