...
API | Purpose | Arguments |
---|---|---|
getViewObj | It is up to the view layer when to append itself to the portlet, i.e. every view might have its own asynchronous calls. Since the Canvas core layer needs access to the multi view object, the component needs to expose this API, where it is supposed to return the multi view object associated with the portlet. | NA |
setViewObject | The API that sets the view Object and stores the reference in this class, to perform business operations. | Obj → multi view object |
Events to be raised:
- destroyapp CWEC.DESTROY_APP → The event allows the developers to do certain business operations when the app/widget has been destroyed completely.
- widgetexpand CWEC.EXPAND → The event allows the developers to do certain business operations when the app/widget has been expanded from a collapsed state.
- widgetcollapsed CWEC.COLLAPSED → The event allows the developers to do certain business operations when the app/widget has been collapsed or minimized.
...