Class CAF.Command.Model
Object
|
+--CAF.Output.Model
|
+--CAF.Link.Model
|
+--CAF.Command.Model
-
Direct Known Subclasses:
-
CAF.OneWayToggle.Model, CAF.Command.Interval.Model
- class
CAF.Command.Model
- extends CAF.Link.Model
CAF Command client-side model.
Defined in core.js
Methods inherited from class CAF.Output.Model |
initialize, toString, equals, isDisabled, isVisible, setVisible, hide, _reapplyOriginalStyle, show, toggle, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
|
classes
Object classes
listActionListener
Object listActionListener
CAF.Command.Model
CAF.Command.Model()
addActionCompleteListener
void addActionCompleteListener(fn)
Adds action-complete listener.
Action-complete listener function takes one argument:
- command id
addActionListener
void addActionListener(fn)
Adds action listener.
Action listener function takes one argument:
- command id
go
void go(params)
Submits form with this command and specified parameters.
Parameters:
params
- (optional) Object whose properties represent parameters to add to form. Ex: {CAF.Command.Model.prototype.first = 0; CAF.Command.Model.prototype.rows = 10; CAF.Command.Model.prototype.sort = "name+";}.
listActionCompleteListeners
Object listActionCompleteListeners()
Lists registered action-complete listener.
Returns:
Array of action-complete listeners or empty array.
listActionListeners
Object listActionListeners()
Lists registered action listener.
Returns:
Array of action listeners or empty array.
removeActionCompleteListener
void removeActionCompleteListener(fn)
Removes action-complete listener.
Parameters:
fn
- Action-complete listener.
removeActionListener
void removeActionListener(fn)
Documentation generated by
JSDoc on Mon Aug 30 14:56:06 2021