diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
DomNode.addAttribute
diamond
dom
domnode
DomNode
Adds an attribute to the node.
void
addAttribute
(DomAttribute attribute)
class
DomNode
final @
safe
void
addAttribute
(
DomAttribute
attribute
)
void
addAttribute
(string name, string value)
Parameters
attribute
DomAttribute
The attribute to add.
Meta
Source
See Implementation
diamond
dom
domnode
DomNode
constructors
this
functions
addAttribute
addChild
clearAttributes
getAttribute
getAttributeNames
getAttributes
getByAttribute
getByAttributeName
getByTagName
getElementById
hasAttribute
hasAttributeContains
hasAttributeEndsWith
hasAttributeStartsWith
hasAttributeSubstring
opCmp
opEquals
querySelector
querySelectorAll
removeAttribute
toOuterString
toString
properties
children
isTextNode
name
parent
parserSettings
rawText
text
Adds an attribute to the node.