[IMP] developer: more info for usePosition JS hook
closes odoo/documentation#1305 Signed-off-by: Bruno Boi <boi@odoo.com>
This commit is contained in:
parent
7c0c6c44bf
commit
43d838d826
@ -109,6 +109,13 @@ resized/scrolled.
|
|||||||
}
|
}
|
||||||
MyPopover.template = owl.tags.xml`<div>I am positioned through a wonderful hook!</div>`
|
MyPopover.template = owl.tags.xml`<div>I am positioned through a wonderful hook!</div>`
|
||||||
|
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The following CSS classes can be used to style the target HTMLElement:
|
||||||
|
|
||||||
|
- `o-popper-position`
|
||||||
|
- `o-popper-position--{D}{V}` where `{D}` and `{V}` are replaced by the first letter of the corresponding Direction and Variant (see Options table below for valid directions and variants). E.g.: for position `bottom-end`, the class name will be `o-popper-position--be`.
|
||||||
|
|
||||||
API
|
API
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user