addon/components/dragon-drop.js
/**
   Adds dragula events and sets `drake` object.
   @method didInsertElement
   */
Adds dragula events and sets `drake` object.
Adds dragula events and sets ` drake ` object .
didInsertElement() {
    this._super(...arguments);
    let options = this.getProperties(dragulaOptions);
    options.containers = options.containers ? options.containers.split(' ').map(selector => document.querySelector(selector)) : [];
    options.containers.push(this.element);
    this.set('drake', window.dragula(options));
    this._setEvents();
  }
didInsertElement ( ) { this . _super ( ... arguments ) ; let options = this . getProperties ( dragulaOptions ) ; options . containers = options . containers ? options . containers . split ( ' ' ) . map ( selector => document . querySelector ( selector ) ) : [ ] ; options . containers . push ( this . element ) ; this . set ( 'drake' , window . dragula ( options ) ) ; this . _setEvents ( ) ; }
Adds dragula events and sets `drake` object.
Adds dragula events and sets ` drake ` object .