Interface

VPValidatorOptions

VPValidatorOptions

A partial interface which can be passed into any VPValidator constructor to be initialized as a ValidatorOption instance with standard defaults applied

View Source interfaces/VPOptions.ts, line 73

Extends

Members

string

# ErrorClassName Optional

Classname appended when validation is erroneous

Inherited From:

View Source interfaces/VPOptions.ts, line 28

string

# FieldsetClass Optional

Classname signifying a fieldset element

View Source interfaces/VPOptions.ts, line 87

boolean

# FindFieldsets Optional

Automatically parse children for Fieldsets, using DOM bindings for options

View Source interfaces/VPOptions.ts, line 82

ValidationLifecycle.<T>

# Lifecycle Optional

Lifecycle bindings to perform on Valid or Invalid states

Inherited From:

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

Inherited From:

View Source interfaces/VPOptions.ts, line 48

string

# MessageClassName Optional

Classname message nodes will bear

Inherited From:

View Source interfaces/VPOptions.ts, line 38

string

# MessageContainerClassName Optional

Classname message node container will bear

Inherited From:

View Source interfaces/VPOptions.ts, line 43

VerticalPosition

# MessagePOS Optional

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

Inherited From:

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

Inherited From:

View Source interfaces/VPOptions.ts, line 63

ScrollIntoViewOptions | boolean

# ScrollOptions Optional

Standard ScrollItnoViewOptions, see MDN

Inherited From:

View Source interfaces/VPOptions.ts, line 68

boolean

# ScrollTo Optional

Indicates if we should scroll to the instance on failed validation

Inherited From:

View Source interfaces/VPOptions.ts, line 58

boolean

# ValidateLazy Optional

Validate child fieldsets lazily

View Source interfaces/VPOptions.ts, line 92

boolean

# ValidateVisible Optional

Indicate if validation should be enforced for non-visible fieldsets

View Source interfaces/VPOptions.ts, line 97

string

# ValidClassName Optional

Classname appended when validation is successful

Inherited From:

View Source interfaces/VPOptions.ts, line 33