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

Re : CanJS Control inheritance?

$
0
0
Hi,

I need something like this:
  1. WidgetA = can.Control({
  2.     ...
  3. });
  1. WidgetB = can.Control({
  2.     ...
  3. });
  4. WidgetC = can.Control({
  5.     ...
  6. });

And now I want to create module Controller which extends from 3 of them.
  1. ModukeController= can.Control({
Does can.extend() handle this? I try it, but doesn't work.

Viewing all articles
Browse latest Browse all 3491

Trending Articles