core_form/passwordunmask

Password Unmask functionality.

Source:
Since:
  • 3.2
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

core_form/passwordunmask

Methods

(inner) addListeners() → {PasswordUnmask}

Source:

Add the event listeners required for PasswordUnmask.

Returns:
Type
PasswordUnmask

(inner) checkFocusOut(e)

Source:

Check whether focus was lost from the PasswordUnmask and turn editing off if required.

Parameters:
Name Type Description
e EventFacade

The EventFacade generating the suspsected Focus Out

(inner) getDisplayValue() → {String}

Source:

Get the currently value.

Returns:
Type
String

(inner) isEditing() → {Boolean}

Source:

Whether the user is currently editing the field.

Returns:

True if edit mode is enabled

Type
Boolean

(inner) passwordVisible() → {Boolean}

Source:

Whether the password is currently visible (unmasked).

Returns:

True if the password is unmasked

Type
Boolean

(inner) setDisplayValue() → {PasswordUnmask}

Source:

Set the currently value in the display, taking into account the current settings.

Returns:
Type
PasswordUnmask

(inner) turnEditingOff(focusOnEditLink) → {PasswordUnmask}

Source:

Disable the editing functionality, optionally focusing on the edit link.

Parameters:
Name Type Description
focusOnEditLink Boolean

Whether to focus on the edit link after disabling the editor

Returns:
Type
PasswordUnmask

(inner) turnEditingOn() → {PasswordUnmask}

Source:

Enable the editing functionality.

Returns:
Type
PasswordUnmask