Files
owl/doc/reference/environment.md
T
Géry Debongnie 534152eff7 [REF] component: small improvement
and run prettier
2019-11-01 08:39:35 +01:00

543 B

🦉 Environment 🦉

An environment is an object which contains a QWeb instance. Whenever a root component is created, it is assigned an environment. This environment is then automatically given to each sub component (and accessible in the this.env property).

    Root
    /  \
   A    B

This way, all components share the same QWeb instance.

Note: some additional information can be found here: