AttributeSet

Proxy object for attributes which will replace the main opDispatch eventually

Constructors

this
this(Element e)

Generally, you shouldn't create this yourself, since you can use Element.attrs instead.

Members

Functions

get
string get(string name)

Returns the value of attribute name, or null if doesn't exist

opBinaryRight
auto opBinaryRight(string name)

Provides support for testing presence of an attribute with the in operator.

set
string set(string name, string value)

Sets a value for attribute with name. If the attribute doesn't exist, this will create it, even if value is null.

Mixins

__anonymous
mixin JavascriptStyleDispatch!()

Mixed In Members

From mixin JavascriptStyleDispatch!()

opDispatch
string opDispatch(string v)
opIndex
string opIndex(string key)
opIndexAssign
string opIndexAssign(string value, string field)

See Also

Meta