diff --git a/site/content/docs/5.0/components/dropdowns.md b/site/content/docs/5.0/components/dropdowns.md index b2abbc7bd8..37c3a74c11 100644 --- a/site/content/docs/5.0/components/dropdowns.md +++ b/site/content/docs/5.0/components/dropdowns.md @@ -901,9 +901,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
[0, 0]
Offset of the dropdown relative to its target.
-When a function is used to determine the offset, it is called with an object containing the popper
instance, the refecence
Element and the placement
as its first argument. The function must return an array with two numbers: [skidding, distance]
. The triggering element DOM node is passed as the second argument.
For more information refer to Popper.js's offset docs.
+Offset of the dropdown relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"
When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance]
.
For more information refer to Popper's offset docs.
null
offset
[0, 0]
Offset of the popover relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"
When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance]
.
For more information refer to Popper's offset docs.
+popperConfig
null
offset
[0, 0]
Offset of the tooltip relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"
When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance]
.
For more information refer to Popper's offset docs.
+popperConfig