Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Subclassing a can.component?

$
0
0
There's not a simple way to subclass a can.Component (unlike a can.Control).

Most of your component logic should be in the scope.  You can define the scope as a Map constructor and subclass that.

Viewing all articles
Browse latest Browse all 3491

Trending Articles