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

Re : Accessing

$
0
0
So, you might not want to use a can.Component, but instead register a custom element like:

  1. can.view.tag(function(el, tagData){
  2.   
  3. })
Within there, you can do whatever you want.  tagData has the scope and the inner template as a renderer function: http://canjs.com/docs/can.view.tagData.html .



Viewing all articles
Browse latest Browse all 3491

Trending Articles