DomTokenList class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- DomTokenList
- Annotations
- @DocsEditable()
- @DomName('DOMTokenList')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- length → int @DocsEditable(), @DomName('DOMTokenList.length'), read-only
- value → String @DocsEditable(), @DomName('DOMTokenList.value'), @Experimental(), read / write
- hashCode → int read-only, inherited
- runtimeType → Type 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