Page History
...
Code Block | ||
---|---|---|
| ||
$scope.onShow = function() { // code to execute when the component is shown/created atin the client. } |
onHide: which will be called every time the component gets hidden
Code Block | ||
---|---|---|
| ||
$scope.onHide = function() { // code to execute when the component is hidden/destroyed atin the client. } |
Any code the component wants to execute server-side for show/hide can be added to these two functions by:
- defining them in the internalApi section of the component's .spec file
- defining them in the server side scripting file of the component.
...
Overview
Content Tools
Activity