title: How to trigger Quill JS's Mention Module when a button is clicked
body: <p>I'm using this <strong>quill mention module</strong> for my  quill editor: <a href="https://github.com/afry/quill-mention" rel="nofollow noreferrer">https://github.com/afry/quill-mention</a>.</p>
  
  <p>My editor toolbar has an "@" button, and I was hoping that what if I click that the mention-list will appear. </p>
  
  <p>Was thinking my code will be something like this:</p>
  
  <pre><code>$("button.mention-btn").on("click", triggerMention);
  
  function triggerMention(){
    if(!quill.hasFocus()){
      quill.focus();
    }
  
    evt1 = $.Event('keydown');
    evt1.which = 16; // shift
    evt2 = $.Event('keypress');
    evt2.which = 50; // 2
  
    quill.trigger(evt1);
    quil.trgger(evt2);
  
  }
  </code></pre>
  
  <p>Can someone with quill-js experience please help. Thanks in advance.</p>