new tart.ui.input.RevealingPassword(opt_options)
Name | Type | Description |
---|---|---|
opt_options |
Object | optional |
Extends
Members
-
mappingsstring
-
RevealingPassword domMappings.
Properties:
Name Type Default Description INPUT
string .passwordInput TOGGLER
string .visibilityToggler
Methods
-
inherited protectedbindModelEvents()
-
Listens to the model's events. This method should be overriden by the implementer, and should keep the model's event listeners.
-
inherited disposeInternal()
-
-
inherited getChild(selector){Object}
-
Returns children of component's element
Name Type Description selector
string Expression which is searching in component element. This is kind of $ for selecting dom element.
Returns:
Type Description Object -
inherited getElement(){Element}
-
Returns the dom element attached with the Component instance.
Returns:
Type Description Element -
inherited getId(){string}
-
Returns the id of this component.
Returns:
Type Description string The id of this component. -
getPassword(){string}
-
Returns the password as a string if it meets the requirements, otherwise, it returns an empty string.
Returns:
Type Description string returning value. -
inherited getPlaceholder(){string}
-
Returns base template of component
Returns:
Type Description string -
inherited render(opt_base, opt_index)
-
This method should be called after the DlgComponent is inserted into the document. Any work (rendering child components, updating DOM, etc.) should be done in this method.
Name Type Description opt_base
Element optional Optional element to render this item into.
opt_index
number optional Place to render element in base element's children list.
-
resetInputArea()
-
Resets the password text area.
-
templates_base(){string}
-
Constructs the base template.
Returns:
Type Description string base template. -
toggleDisplay()
-
Toggles the input area's displaying mode in order to conceal or reveal the text entered.