DomTokenList class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('DOMTokenList')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

DomTokenList.internal_()

Properties

lengthint
@DocsEditable(), @DomName('DOMTokenList.length'), read-only
valueString
@DocsEditable(), @DomName('DOMTokenList.value'), @Experimental(), read / write
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

add(String tokens) → void
@DocsEditable(), @DomName('DOMTokenList.add'), @Experimental()
contains(String token) → bool
@DocsEditable(), @DomName('DOMTokenList.contains')
item(int index) → String
remove(String tokens) → void
@DocsEditable(), @DomName('DOMTokenList.remove'), @Experimental()
supports(String token) → bool
@DocsEditable(), @DomName('DOMTokenList.supports'), @Experimental()
toggle(String token, [ bool force ]) → bool
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DomTokenList-class.html