exposeButtonMixin Class
Item Index
Methods
_exposeServiceCallback
(
Undefined
-
ev
Callback called when the backend returns a response to a service expose call. Update the service model instance or, if an error occurred, add a failure notification.
Parameters:
-
evObjectAn event object (with "err" and "service_name" attributes).
Returns:
Undefined:
Nothing.
_unexposeServiceCallback
(
Undefined
-
ev
Callback called when the backend returns a response to a service unexpose call. Update the service model instance or, if an error occurred, add a failure notification.
Parameters:
-
evObjectAn event object (with "err" and "service_name" attributes).
Returns:
Undefined:
Nothing.
exposeService
()
Undefined
Expose the service stored in this view. Pass this._exposeServiceCallback as callback to be called when the response is returned by the backend.
Returns:
Undefined:
Nothing.
unexposeService
()
Undefined
Unexpose the service stored in this view. Pass this._unexposeServiceCallback as callback to be called when the response is returned by the backend.
Returns:
Undefined:
Nothing.
