Vue ValidationGroup API
See Also
jQuery
Angular
Vue
React
Configuration
Name | Description |
---|---|
elementAttr |
Specifies the global attributes to be attached to the UI component's container element. |
height |
Specifies the UI component's height. |
onDisposing |
A function that is executed before the UI component is disposed of. |
onInitialized |
A function used in JavaScript frameworks to save the UI component instance. |
onOptionChanged |
A function that is executed after a UI component property is changed. |
width |
Specifies the UI component's width. |
See Also
Methods
Name | Description |
---|---|
dispose() |
Disposes of all the resources allocated to the ValidationGroup instance. |
element() |
Gets the root UI component element. |
getInstance(element) |
Gets the instance of a UI component found using its DOM node. |
instance() |
Gets the UI component's instance. Use it to access other methods of the UI component. |
off(eventName) |
Detaches all event handlers from a single event. |
off(eventName, eventHandler) |
Detaches a particular event handler from a single event. |
on(eventName, eventHandler) |
Subscribes to an event. |
on(events) |
Subscribes to events. |
option() |
Gets all UI component properties. |
option(optionName) |
Gets the value of a single property. |
option(optionName, optionValue) |
Updates the value of a single property. |
option(options) |
Updates the values of several properties. |
reset() |
Resets the value and validation result of the editors that are included to the current validation group. |
resetOption(optionName) |
Resets a property to its default value. |
validate() |
Validates rules of the validators that belong to the current validation group. |
Events
Name | Description |
---|---|
disposing |
Raised before the UI component is disposed of. |
initialized |
Raised only once, after the UI component is initialized. |
optionChanged |
Raised after a UI component property is changed. |
Types
Name | Description |
---|---|
DisposingEvent |
The type of the disposing event handler's argument. |
InitializedEvent |
The type of the initialized event handler's argument. |
OptionChangedEvent |
The type of the optionChanged event handler's argument. |
Validation Result
If you have technical questions, please create a support ticket in the DevExpress Support Center.