getService

returns a service available for Query

object getService(string service);
servicestringthe service name
objectthe object with the service methods

Example

const backend = $$("query").getService("backend");

Details

Services are major blocks of inner logic of the widget. Their methods can be called directly as well as customized.

Query has access to the only service:

  • "backend" - works with the backend server.
Back to top