#What is the use of addMethods? Why do you write
Kinetic.Util.addMethods(Kinetic.Group
instead of
Kinetic.Group.prototype = {...}
?
#Why does drawFunc in object extending Group does not work?
#I want my component to be a facade, where to update children? I want my Link component to contain Text and Line below text. I don't want user to interact with Text or Line, just with Link (i.e. link.setText). When should I update Text and Line children? In drawScene (Link extends Group)?
#Nesting components is so cool, cause it takes rendering off of me, but I don't want it in toJSON
#Articles
- Why does drawFunc in object extending Group does not work?
- When to update children
- Nesting components is so cool, cause it takes rendering off of me, but I don't want it in toJSON
- Setter vs setAttr vs attrs
- destory vs remove
- Integrating KineticJS with AngularJS (controller->stage, stage->controller)
- Undo/redo
- Why do we need background layer?
- Selection group - for better performance
- Avoid selection group in toJSON
- mockupComponentSelected+selectedComponentProperties : proxy for delegation and validation