package js.html
extends Node › EventTarget
Available on jsThis type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g.,
Element.getAttribute()
, but certain functions (e.g.,Element.getAttributeNode()
) or means of iterating giveAttr
types.Documentation Attr by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only name:String
read only ownerElement:Element
read only specified:Bool
value:String
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/Attr.html