Directive and classes

2 views
Skip to first unread message

odeme...@gmail.com

unread,
Apr 23, 2013, 11:26:48 AM4/23/13
to Pure-Unobtrusive...@googlegroups.com
Hi,

Is it possible do do this: (i tried it but it does not seem to work)

<ul>
<li>Something that does not need to be repeated</li>
<li class='repeat'><span class='name'></span></li>
</ul>
var directive = {
 'li.repeat':{
  'animal<-animals':{
   'span.name':'animal.name'
  }
 }
};

Mic (BeeBole)

unread,
Apr 23, 2013, 12:03:22 PM4/23/13
to Pure-Unobtrusive...@googlegroups.com, odeme...@gmail.com
Sure, it should work. What problem do you get?
Reply all
Reply to author
Forward
0 new messages