value

The value JS DOMTokenList returns the associated set as string.

Can be set, to change the associated attribute.

Syntax

tokenlist.value

Examples

1 · return

2 · set

add

contains

item

length

remove

replace

supports

toggle

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu