charts.StructuredInputView Class
Extends awa.mvc.RealTimeInputMixin
Defined in:
Module: charts
/var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/charts/StructuredInputView.js:9
Constructor
charts.StructuredInputView
(
-
[options.model] -
[options.attribute] -
[options.name] -
[options.state] -
[options.allowRemove] -
[options.model]
Parameters:
-
[options.model]awa.mvc.Model optional -
[options.attribute]String optional -
[options.name]String optional -
[options.state]String optional -
[options.allowRemove]Boolean optional -
[options.model]awa.mvc.Model optional
Methods
cancel
()
Undefined
close the editor without saving
Returns:
Undefined:
save
(
String
-
release
save and optionally close the editor
Parameters:
-
releaseBooleanRelease realtime lock on save
Returns:
String:
the current value
update
()
Undefined
update the field from the server
Returns:
Undefined:
val
(
String | This
chainable
-
[value]
Parameters:
-
[value]String | Undefined optionalValue to set
Returns:
String | This:
Returns the currrent value if no value is passed or this