Module: alfresco/forms/controls/RadioButtons

alfresco/forms/controls/RadioButtons

Author:
  • Dave Draper
License:
Source:

Members

_radioButton

Source:

control

Source:

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/RadioButtons.css"}]
Source:

currentValue

Source:

lastValue

Source:

options :object[]

Type:
  • object[]
Default Value:
  • null
Source:

optionToWidget

Source:

templateString :string

Type:
  • string
Source:

templateString :string

Type:
  • string
Source:

Methods

addOption(option)

Parameters:
Name Type Description
option object The option to add
Source:

createFormControl()

Source:

getValue()

Source:

getWidgetConfig()

Source:

onButtonChange(radioButton, isChecked)

Parameters:
Name Type Description
radioButton object The individual Radio Button that has changed state
isChecked boolean Indicates whether or not the button has been checked or not.
Source:

postCreate()

Source:

postCreate()

Source:

removeOption()

Source:

setValue(value)

Parameters:
Name Type Description
value object The value to set.
Source:

setValue(value)

Sets the checked value of the RadioButtons.
Parameters:
Name Type Description
value object The value to set.
Source: