PropsDOMTokenList extension

on

Properties

length int

Available on DOMTokenList, provided by the PropsDOMTokenList extension

no setter
value String

Available on DOMTokenList, provided by the PropsDOMTokenList extension

getter/setter pair

Methods

add([String? tokens1, String? tokens2, String? tokens3]) → void

Available on DOMTokenList, provided by the PropsDOMTokenList extension

contains(String token) bool

Available on DOMTokenList, provided by the PropsDOMTokenList extension

item(int index) String?

Available on DOMTokenList, provided by the PropsDOMTokenList extension

remove([String? tokens1, String? tokens2, String? tokens3]) → void

Available on DOMTokenList, provided by the PropsDOMTokenList extension

replace(String token, String newToken) bool

Available on DOMTokenList, provided by the PropsDOMTokenList extension

supports(String token) bool

Available on DOMTokenList, provided by the PropsDOMTokenList extension

toggle(String token, [bool? force]) bool

Available on DOMTokenList, provided by the PropsDOMTokenList extension