@@ -63,22 +63,23 @@ yarn add vue3-popper
6363
6464## Props
6565
66- | Name | Default | Description |
67- | ------------------ | -------- | ------------------------------------------------------------------------------------------------------- |
68- | ` placement ` | ` bottom ` | Preferred placement of the Popper |
69- | ` disableClickAway ` | ` false ` | Disables automatically closing the Popper when the user clicks away from it |
70- | ` offsetSkid ` | ` 0 ` | Offset in pixels along the trigger element |
71- | ` offsetDistance ` | ` 12 ` | Offset in pixels away from the trigger element |
72- | ` hover ` | ` false ` | Trigger the Popper on hover |
73- | ` arrow ` | ` false ` | Display an arrow on the Popper |
74- | ` arrowPadding ` | ` 0 ` | Stop arrow from reaching the edge of the Popper (in pixels) |
75- | ` disabled ` | ` false ` | Disables the Popper. If it was already open, it will be closed. |
76- | ` openDelay ` | ` 0 ` | Open the Popper after a delay (ms) |
77- | ` closeDelay ` | ` 0 ` | Close the Popper after a delay (ms) |
78- | ` interactive ` | ` true ` | If the Popper should be interactive, it will close when clicked/hovered if false |
79- | ` content ` | ` null ` | If your content is just a simple string, you can pass it as a prop |
80- | ` show ` | ` null ` | Control the Popper ** manually** , other events (click, hover) are ignored if this is set to ` true/false ` |
81- | ` zIndex ` | ` 9999 ` | The z-index of the Popper |
66+ | Name | Default | Description |
67+ | ------------------ | -------- | ----------------------------------------------------------------------------------------------------------- |
68+ | ` placement ` | ` bottom ` | Preferred placement of the Popper |
69+ | ` disableClickAway ` | ` false ` | Disables automatically closing the Popper when the user clicks away from it |
70+ | ` offsetSkid ` | ` 0 ` | Offset in pixels along the trigger element |
71+ | ` offsetDistance ` | ` 12 ` | Offset in pixels away from the trigger element |
72+ | ` hover ` | ` false ` | Trigger the Popper on hover |
73+ | ` arrow ` | ` false ` | Display an arrow on the Popper |
74+ | ` arrowPadding ` | ` 0 ` | Stop arrow from reaching the edge of the Popper (in pixels) |
75+ | ` disabled ` | ` false ` | Disables the Popper. If it was already open, it will be closed. |
76+ | ` openDelay ` | ` 0 ` | Open the Popper after a delay (ms) |
77+ | ` closeDelay ` | ` 0 ` | Close the Popper after a delay (ms) |
78+ | ` interactive ` | ` true ` | If the Popper should be interactive, it will close when clicked/hovered if false |
79+ | ` content ` | ` null ` | If your content is just a simple string, you can pass it as a prop |
80+ | ` show ` | ` null ` | Control the Popper ** manually** , other events (click, hover) are ignored if this is set to ` true/false ` |
81+ | ` zIndex ` | ` 9999 ` | The z-index of the Popper |
82+ | ` locked ` | ` false ` | Lock the Popper into place, it will not flip dynamically when it runs out of space if this is set to ` true ` |
8283
8384## Events
8485
0 commit comments