add method

void add(
  1. String tokens
)

The add() method of the DOMTokenList interface adds the given tokens to the list, omitting any that are already present.

Implementation

external void add(String tokens);