new PureWizardPage(config, container, prevopt, nextopt)
Represents a single page
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object | ||
container |
Node | ||
prev |
PureWizardPage |
<optional> |
|
next |
PureWizardPage |
<optional> |
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
config.hideClass |
String |
<optional> |
'' | Css class used to hide wizard pages |
config.errorClass |
String |
<optional> |
'' | Css class to Highlight field with errors, if no |
- Source:
Methods
getInvalidElements() → {NodeList}
Return invalid elements from the page
- Source:
Returns:
- Type
- NodeList
getNext() → {PureWizardPage}
Return the next page
- Source:
Returns:
- Type
- PureWizardPage
getPrev() → {PureWizardPage}
Return the previouse page
- Source:
Returns:
- Type
- PureWizardPage
getTitle()
Get page title
- Source:
hide()
Hide the page
- Source:
isValid() → {Boolean}
Check if the page is valid
- Source:
Returns:
- Type
- Boolean
show()
Show the page
- Source:
toggleErrors() → {Boolean}
Toggle the validation messages and apply error class
- Source:
Returns:
- Type
- Boolean