mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
8483cc805e
This commit performs two tasks: 1. it exports the internal browser object (in owl.browser), for ease of testing 2. it makes sure that Owl does not crash inside iframes in incognito mode, because window.localStorage raises an exception in that case closes #791
1.3 KiB
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.
browser
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.