Last active
January 3, 2016 16:23
-
-
Save fabiobiondi/ecbad86280755d28856e to your computer and use it in GitHub Desktop.
EaselJS Custom Display Object in ES6 - v.0.0.2 - DOESN'T WORK (to delete in feb 2016)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MyButton from './MyButton.js'; | |
const stage = new createjs.Stage("demo"); | |
const btn = new MyButton('red'); | |
stage.addChild(btn); | |
btn.x = 100; | |
btn.y = 100; | |
stage.update(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment