Methods


setCustomValidity( message )

Description

Sets a custom validity message for the element.

Parameters
Name Type Description
message string

checkValidity() → {boolean}

Description

Returns true if the element's child controls are subject to constraint validation and satisfy those contraints; returns false if some controls do not satisfy their constraints. Fires an event named invalid at any control that does not satisfy its constraints; such controls are considered invalid if the event is not canceled. It is up to the programmer to decide how to respond to false.

Returns

sleep( ms ) → {Promise}

Description

Wacht.

Parameters
Name Type Description
ms Number

aantal milliseconden dat er gewacht moeten worden

Returns
Details