DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • can.view.elements
    • can.view.elements.attrMap
    • can.view.elements.tagMap
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • can.view
  • /
  • can.view.elements
  • /
  • can.view.elements.attrMap
  • / On this page
    • can.view.elements.attrMap

      property

      Object<String,String|Boolean|function>

      A mapping of special attributes to their JS property. For example:

      "class" : "className"
      

      means get or set element.className. And:

       "checked" : true
      

      means set element.checked = true.

      If the attribute name is not found, it's assumed to use element.getAttribute and element.setAttribute.

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.