Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.19 KB

questions.md

File metadata and controls

39 lines (27 loc) · 1.19 KB

#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

Kinetic text (auto vs fixed size)

Shape vs Group

  • 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

Editor

  • 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