removeAttr
can.Map.prototype.removeAttr
Remove a property from a Map.
map.removeAttr(attrName)
Parameters
-
attrName
{String}the name of the property to remove
Returns
{*}
the value of the property that was removed
Remove a property from a Map.
{String}the name of the property to remove
{*}the value of the property that was removed
removeAttrremoves a property by name from a Map.Removing an attribute will cause a change event to fire with
'remove'passed as the how parameter andundefinedpassed as the newVal to handlers. It will also cause a property name event to fire withundefinedpassed as newVal. An in-depth description at these events can be found underattr.