Files
owl/doc/reference/content.md
T
2020-10-30 15:31:03 +01:00

1.3 KiB

🦉 Owl Content 🦉

Here is a complete visual representation of everything exported by the owl global object.

For example, Component is available at owl.Component and EventBus is exported as owl.core.EventBus.

Component                               misc
Context                                     AsyncRoot
QWeb                                        Portal
mount                                   router
Store                                       Link
useState                                    RouteComponent
config                                      Router
    mode
core                                    tags
    EventBus                                css
    Observer                                xml
hooks                                   utils
    onWillStart                             debounce
    onMounted                               escape
    onWillUpdateProps                       loadJS
    onWillPatch                             loadFile
    onPatched                               shallowEqual
    onWillUnmount                           whenReady
    useContext
    useState
    useRef
    useSubEnv
    useStore
    useDispatch
    useGetters

Note that for convenience, the useState hook is also exported at the root of the owl object.