daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Dec 14th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template>
  2.   <require from="./canvas"></require>
  3.   <require from="./circle"></require>
  4.   <h1>Canvas</h1>
  5.   <my-canvas view-model.ref="canvas">
  6.     <my-circle repeat.for="circle of circles" x.bind="circle.x" y.bind="circle.y" r.bind="circle.r"></my-circle>
  7.   </my-canvas>
  8.   <button click.delegate="addAnother()">Add another</button>
  9.   <button click.delegate="removeOne()">Remove one</button>
  10. </template>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top