documentation/wowl_markdown_doc/services/view_manager.md
Géry Debongnie eff7c05465 [DOC] add master-wowl doc (UNFINISHED)
I know, the doc is still in md, it was only temporary. we will convert
it to rst someday
2021-05-31 15:29:27 +02:00

647 B

ViewManager service

Technical name Dependencies
view_manager model

Overview

The view_manager service is a low level service that helps with loading view informations (such as the arch, the id and other view informations).

API

The view_manager service provide a single method:

  • loadView(model: string, type: ViewType, viewId?: number | false): Promise<ViewDefinition> This method loads from the server the description for a view.

A ViewDefinition object contains the following information:

- `arch (string)`
- `type (ViewType)`
- `viewId (number)`