Interface

VPOptions

VPOptions

A generic interface which all Validatable instances implement. This interface is required to be implemented in order to operate as a Validatable instance

View Source interfaces/VPOptions.ts, line 15

Members

string

# ErrorClassName Optional

Classname appended when validation is erroneous

View Source interfaces/VPOptions.ts, line 28

ValidationLifecycle.<T>

# Lifecycle Optional

Lifecycle bindings to perform on Valid or Invalid states

View Source interfaces/VPOptions.ts, line 23

HTMLElement | null

# MessageAnchor Optional

An anchor point for message nodes. Will default to the internal element if undefined

View Source interfaces/VPOptions.ts, line 48

string

# MessageClassName Optional

Classname message nodes will bear

View Source interfaces/VPOptions.ts, line 38

string

# MessageContainerClassName Optional

Classname message node container will bear

View Source interfaces/VPOptions.ts, line 43

VerticalPosition

# MessagePOS Optional

Message positioning; Determines how the messaging container is mounted to the anchor point

View Source interfaces/VPOptions.ts, line 53

HTMLElement | null

# ScrollAnchor Optional

An anchor point to scroll to if scrolling is enabled and an instance is erroneous

View Source interfaces/VPOptions.ts, line 63

ScrollIntoViewOptions | boolean

# ScrollOptions Optional

Standard ScrollItnoViewOptions, see MDN

View Source interfaces/VPOptions.ts, line 68

boolean

# ScrollTo Optional

Indicates if we should scroll to the instance on failed validation

View Source interfaces/VPOptions.ts, line 58

string

# ValidClassName Optional

Classname appended when validation is successful

View Source interfaces/VPOptions.ts, line 33