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

Re : Accessing

$
0
0
I wouldn't necessarily say that I need to use DOM manipulation. Here's what I'd like to be able to do. Wrap some DOM, let's say a list of div tags, with a custom tag such as <team-list> divs </team-list>

The divs on the inside would each represent a player. Yes, I know, then instead of using a "div" for each player I should have another custom element such as <player-info>, but for the sake of this experiment I want to see how I'd accomplish this using CanJS without the second custom tag. I'd like my "team-list" can.Component to be able to grab each div and "do something" with them.

Viewing all articles
Browse latest Browse all 3491

Trending Articles