title: How to set container specific options in Aurelia-Dragula?
body: <p>I'm using Aurelia-Dragula (<a href="https://github.com/michaelmalonenz/aurelia-dragula" rel="nofollow noreferrer">https://github.com/michaelmalonenz/aurelia-dragula</a>) in my application and I want to set my options per container like in non-Aurelia Dragula.</p>
  
  <p>In my case I want to have ContainerA where I want option.copy = true and ContainerB where I want option.removeOnSpill = true. so I tried both:</p>
  
  <pre><code>.plugin('aurelia-dragula', (options) =&gt; {
              options.removeOnSpill = true;
              options.copy = true;
          })
  </code></pre>
  
  <p>But the result is that copy reigns and removeOnSpill doesn't work.</p>
  
  <p>How options variable looks in aurelia-dragula when logged to the console:
  <code>{"containers":[],"copy":true,"copySortSource":false,"revertOnSpill":true,"removeOnSpill":true,"direction":"vertical","ignoreInputTextSelection":true,"mirrorContainer":{}}</code></p>
  
  <p>Example of how it's done in non-Aurelia Dragula (source: <a href="https://bevacqua.github.io/dragula/" rel="nofollow noreferrer">https://bevacqua.github.io/dragula/</a>):</p>
  
  <pre><code>dragula([document.getElementById(left), document.getElementById(right)], {
    copy: function (el, source) {
      return source === document.getElementById(left)
    },
    accepts: function (el, target) {
      return target !== document.getElementById(left)
    }
  });
  </code></pre>
  
  <p>Due to how different the options is set and I can't find documentation for this in aurelia-dragula I'm not able to translate it.</p>