- Description:
Password Unmask functionality.
- Source:
- Since:
- 3.2
- Copyright:
- 2016 Andrew Nicols
- 2016 Andrew Nicols
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Password Unmask functionality.
Classes
Methods
(inner) addListeners() → {PasswordUnmask}
- Description:
Add the event listeners required for PasswordUnmask.
- Source:
Returns:
- Type
- PasswordUnmask
(inner) checkFocusOut(e)
- Description:
Check whether focus was lost from the PasswordUnmask and turn editing off if required.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
e |
EventFacade | The EventFacade generating the suspsected Focus Out |
(inner) getDisplayValue() → {String}
- Description:
Get the currently value.
- Source:
Returns:
- Type
- String
(inner) isEditing() → {Boolean}
- Description:
Whether the user is currently editing the field.
- Source:
Returns:
True if edit mode is enabled
- Type
- Boolean
(inner) passwordVisible() → {Boolean}
- Description:
Whether the password is currently visible (unmasked).
- Source:
Returns:
True if the password is unmasked
- Type
- Boolean
(inner) setDisplayValue() → {PasswordUnmask}
- Description:
Set the currently value in the display, taking into account the current settings.
- Source:
Returns:
- Type
- PasswordUnmask
(inner) turnEditingOff(focusOnEditLink) → {PasswordUnmask}
- Description:
Disable the editing functionality, optionally focusing on the edit link.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
focusOnEditLink |
Boolean | Whether to focus on the edit link after disabling the editor |
Returns:
- Type
- PasswordUnmask
(inner) turnEditingOn() → {PasswordUnmask}
- Description:
Enable the editing functionality.
- Source:
Returns:
- Type
- PasswordUnmask