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

Re : Component, Control or Both

$
0
0
Well what if I want to create a reusable piece of code that anyone else can plug into their site/app?

I used jQuery UI tabs as an example and matthew pointed me at the can.Component tabs example. However that example seems more tailored for the specific web app as opposed to a generic tabs widget that anyone can easily plug into their site.

Are can.Controls better suited for this?

Is there a way to create a can.Component that others can use and not have to have knowledge of mustache, can.Components or even CanJS at that?

Viewing all articles
Browse latest Browse all 3491

Trending Articles