Quantcast
Viewing all articles
Browse latest Browse all 3491

It seems can.Control's init is not the first initializer?

Is it true for for can.Construct, we can think of its init as the first initializer entry point, while for can.Control, its init seems different that, even if we call

  1. var myControl = new MyControl("#some-div");
then the element passed into init(element, options) { ... } is always made into the jQuery object $("#some-div"), instead of just the string "#some-div", so can.Control's init is not the first initializer entry point but can.Construct's init is the first initializer entry point?



Viewing all articles
Browse latest Browse all 3491

Trending Articles