title: html canvas zindex
body: <p>How do I change the zindex of an element inside a canvas?</p>
  
  <p>Example code:</p>
  
  <pre><code>fabric.Image.fromURL('http://nocookie.net/bw.jpg', function(image) {
      image.set('left', 200).set('top', 250);
      canvas.add(image);
  });
  
  
  var helloWorld = new fabric.Text('Hello world!', { 
    left: 0, 
    top: 0,
    fontfamily: 'delicious_500',
    zindex: 10
  });
  
  canvas.add(helloWorld);
  </code></pre>
  
  <p>Using the fabric.js library.</p>
  
  <p>For future reference:</p>
  
  <p>fabric.Element.html#bringForward</p>