This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.29 KB  |  views: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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}}">
clone this paste RAW Paste Data