Class: RadioGroup

fields. RadioGroup

new RadioGroup()

Source:

Extends

Methods

getAttributes() → {Ojbect}

Normalise attributes
Inherited From:
Source:
Returns:
Type
Ojbect

getData() → {Array}

Source:
Returns:
Type
Array

processData()

Inherited From:
Source:
To Do:
  • implement

renderAttributes(attrs) → {String}

Render attribute string
Parameters:
Name Type Description
attrs
Inherited From:
Source:
Returns:
Type
String

setData(data)

Parameters:
Name Type Description
data
Source:

toHTML() → {string}

Source:
Returns:
Type
string

toJSON() → {Object}

Inherited From:
Source:
Returns:
Type
Object

toString() → {String}

Inherited From:
Source:
Returns:
Type
String

validate(callback)

Execute all validators on the field data.
Parameters:
Name Type Description
callback function
Inherited From:
Source:

validateSync() → {*|Boolean}

Validate a field synchronously will not work if one of the validators is async.
Inherited From:
Source:
Returns:
Type
* | Boolean