Matt's DOM Utils Matt's DOM Utils (Utils)

Classes

Choose a method

which will then be called upon form submission.

Enter the corresponding parameters

which are passed to eval, which allows them to be called with the selected method. They are provided with type hints to guide input.

For example, calling Utils.classes.contains with input of:

document.body

and

"test"

would display the result of the call and the current tokens in the specified element's classList object.

Call the selected method.

Results will be displayed below.

Tokens

The specified Element's class token list:

[]

in Array form.

Result

The result of the called method:

undefined

in String form.