awa.ui.SSNInput Class
Extends awa.ui.InputBaseView
Defined in:
Module: awa.ui
/var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/awa/ui/SSNInput.js:11
custom widget to handle ssn input. displays only last 4 digits until user intends to edit.
Constructor
awa.ui.SSNInput
(
-
[options.model] -
[options.modelAttribute]
Parameters:
-
[options.model]awa.mvc.Model optionalModel this input will directly interact with
-
[options.modelAttribute]String optionalmodel attribute to set the value of
Methods
disable
(
Undefined
-
disable
The show and edit action controls the actual inputs. From a outside use perspective, hiding the link disables the widget.
Parameters:
-
disableBooleanTrue to disable, false to enable
Returns:
Undefined:
hide
()
awa.ui.InputBaseView
hides the view in the most effecient way possible
Returns:
awa.ui.InputBaseView:
this