gitlab-org--gitlab-foss/app/assets/javascripts/droplab/hook.js

16 lines
332 B
JavaScript
Raw Normal View History

2017-04-07 09:57:03 -04:00
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;
}
}
2017-04-07 09:57:03 -04:00
export default Hook;