title: How to set added item as active object?
body: <p>I'm using the following to add text to my fabricjs canvas and I was wondering how I could have it be automatically selected when the onclick is triggered?</p>
  
  <pre><code>// Add text
  function Addtext() {
     canvas.add(new fabric.IText('Tap and Type', {
        left: 50,
        top: 100,
     }));
  }
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;button onclick="Addtext()"&gt;+ Text&lt;/button&gt;
  </code></pre>