Skip to content

Commit 43d838d

Browse files
committed
[IMP] developer: more info for usePosition JS hook
closes #1305 Signed-off-by: Bruno Boi <[email protected]>
1 parent 7c0c6c4 commit 43d838d

File tree

1 file changed

+7
-0
lines changed
  • content/developer/reference/frontend

1 file changed

+7
-0
lines changed

content/developer/reference/frontend/hooks.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ resized/scrolled.
109109
}
110110
MyPopover.template = owl.tags.xml`<div>I am positioned through a wonderful hook!</div>`
111111
112+
113+
.. note::
114+
The following CSS classes can be used to style the target HTMLElement:
115+
116+
- `o-popper-position`
117+
- `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`.
118+
112119
API
113120
---
114121

0 commit comments

Comments
 (0)