Is it the way to code a new Control ?


I just commited a custom Control to show mobile ads using Enyo.
Could someone tell me if I coded it the right way ? I mainly talk about event workflow, accessors, etc...

Thanks for any feedback to improve it !




  • I haven't dug into the complete code, but did notice something. If you have an overridden function that only has a call to this.inherited() in it, you can just get rid of the whole thing.
  • oops... you're totally forgot to remove this dead code...
    I wrote it when I first made a template....
Sign In or Register to comment.