Advertisement
Guest User

Untitled

a guest
May 7th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. How to bind a value to “data-*” attribute using “bindAttr”?
  2. <a {{bindAttr data-foo="content.foo"}}>
  3.  
  4. Error: Parse error on line 16:
  5. ...}} <a {{bindAttr data-foo="content.foo
  6. ----------------------^
  7. Expecting 'CLOSE', 'STRING', 'ID', 'SEP'
  8.  
  9. <a data-foo="{{content.foo}}">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement