Child pages
  • Server Side Scripting

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleLogging in component/service server side scripting file
console.log(message);
console.warn(message);
console.error(message);


Hooking up into component lifecycle

Two new function's support has been added for hooking up into the destroy / create component's lifecycle on the client side:

showComponent() : which is called every time the component is going from hide to show

hideComponent(): which is called when component is going from show to hide.

Any wanted processing for these situations may be added by adding these two functions in the internalApi section of the spec and also defining them on the server side scripting of the component.