attrMap

  • property

{Object<String,String | Boolean | function()>}

 

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.