Versions Compared

Key

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

...

  • svyModel: this is the object that contains all properties that the .spec file declares in it's "model" section.
  • svyApi: this is the object that the web component .js file must populate with all the client-side API functions that the .spec file declares in it's "api" section. Some apis can also be implemented in serverside scripting, see "Serverside scripting" section of the Specification page.
  • svyHandlers: this is the object that contains all handlers that the .spec file declares in it's "handlers" section. It is pre-populated by Servoy, so the handlers are already there, ready to be used.
  • svyServoyapi: this is an API that Servoy provides to the component - if the component needs to do manual 'apply' or other operations. See the "ServoyApi" the servoyApi section below.

 

The onDataChangeCallback function in the example above is used as a callback of the ondatachange spec configuration for a dataprovider.

...