- Description:
Handle selecting parent competency in competency form.
- Source:
- Copyright:
- 2015 Issam Taboubi
- 2015 Issam Taboubi
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Handle selecting parent competency in competency form.
Members
(inner) The :String
- Description:
parent competency button selector.
- Source:
parent competency button selector.
Type:
- String
(inner) The :String
- Description:
hidden input field selector.
- Source:
hidden input field selector.
Type:
- String
(inner) The :String
- Description:
static element displaying the parent competency.
- Source:
static element displaying the parent competency.
Type:
- String
(inner) The :Number
- Description:
competency framework ID.
- Source:
competency framework ID.
Type:
- Number
(inner) The :Number
- Description:
page context ID.
- Source:
page context ID.
Type:
- Number
Methods
(inner) init(buttonSelector, inputSelector, staticElementSelector, frameworkId, pageContextId)
- Description:
Main initialisation.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
buttonSelector |
String | The parent competency button selector. |
inputSelector |
String | The hidden input field selector. |
staticElementSelector |
String | The static element displaying the parent competency. |
frameworkId |
Number | The competency framework ID. |
pageContextId |
Number | The page context ID. |
(inner) registerEvents()
- Description:
Register the events of parent competency button click.
- Source:
(inner) setParent(data)
- Description:
Set the parent competency in the competency form.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | Data containing selected competency. |