new CRUDGenericActionUpdate()
Members
-
<static> ACTION
-
-
<static> MODEL_ACTION_GET
-
-
<static> MODEL_ACTION_PUT
-
-
<static> breadcrumbsTails
-
Libarary of breadcrumbs tails strings templates
-
<static> deafultBreadcrumbsTail
-
Default breadcrumbs tail template string
Methods
-
<static> bindUIEvents(controller, params, response)
-
Binds events to action UI
Parameters:
Name Type Description controllerobject instance of controller paramsArray.<string> list of route params responseobject API response -
<static> isUIRendered(controller)
-
true, if UI of this action already exists, false, if UI of this action wasn't existed and other UIs were destoryed
Parameters:
Name Type Description controllerobject instance of controller Returns:
true if UI of this action exists, false if UI of other was destroyed- Type
- boolean
-
<static> prepareUIOptions(controller, response)
-
Creates object with all options needed to initialize UI component
Parameters:
Name Type Description controllerobject instance of controller responseobject API reponse object Returns:
ui options object- Type
- object
-
<async, static> run(controller, params)
-
Performing action preparation and renders UI
Parameters:
Name Type Description controllerobject instance of controller paramsArray.<string> list of route params Returns:
- Type
- undefined