diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index 17d8bf1e3..935779238 100644 --- a/site/content/docs/5.0/components/carousel.md +++ b/site/content/docs/5.0/components/carousel.md @@ -239,40 +239,40 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
interval5000keyboardtruepause"hover"If set to "hover", pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. If set to false, hovering over the carousel won't pause it.
On touch-enabled devices, when set to "hover", cycling will pause on touchend (once the user finished interacting with the carousel) for two intervals, before automatically resuming. Note that this is in addition to the above mouse behavior.
slidefalsewraptruetouchtrueparentfalsecard class). The attribute has to be set on the target collapsible area.toggletrueshow.bs.collapseshow instance method is called.shown.bs.collapsehide.bs.collapsehide method has been called.hidden.bs.collapseoffset0Offset of the dropdown relative to its target.
When a function is used to determine the offset, it is called with an object containing the offset data as its first argument. The function must return an object with the same structure. The triggering element DOM node is passed as the second argument.
@@ -832,33 +832,33 @@ Options can be passed via data attributes or JavaScript. For data attributes, apfliptrueboundary'scrollParent''viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs.reference'toggle''toggle', 'parent', or an HTMLElement reference. For more information refer to Popper.js's referenceObject docs.display'dynamic'static.popperConfignullshow.bs.tabevent.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.shown.bs.tabevent.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.hide.bs.tabevent.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.hidden.bs.tabevent.target and event.relatedTarget to target the previous active tab and the new active tab, respectively..modal-fullscreen-sm-downBelow 576px576px.modal-fullscreen-md-downBelow 768px768px.modal-fullscreen-lg-downBelow 992px992px.modal-fullscreen-xl-downBelow 1200px1200pxbackdrop'static'truestatic for a backdrop which doesn't close the modal on click.keyboardtruefocustrueshowtrueshow.bs.modalshow instance method is called. If caused by a click, the clicked element is available as the relatedTarget property of the event.shown.bs.modalrelatedTarget property of the event.hide.bs.modalhide instance method has been called.hidden.bs.modalhidePrevented.bs.modalstatic and a click outside the modal or an escape key press is performed with the keyboard option or data-keyboard set to false.show.bs.tabevent.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.shown.bs.tabevent.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.hide.bs.tabevent.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.hidden.bs.tabevent.target and event.relatedTarget to target the previous active tab and the new active tab, respectively.animationtruecontainerfalseAppends the popover to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.
content''Default content value if data-content attribute isn't present.
If a function is given, it will be called with its this reference set to the element that the popover is attached to.
delay0Delay showing and hiding the popover (ms) - does not apply to manual trigger type
If a number is supplied, delay is applied to both hide/show
@@ -197,28 +197,28 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opthtmlfalseinnerText property will be used to insert content into the DOM. Use text if you're worried about XSS attacks.placement'right'How to position the popover - auto | top | bottom | left | right.
When auto is specified, it will dynamically reorient the popover.
When a function is used to determine the placement, it is called with the popover DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the popover instance.
selectorfalsetemplate'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'title''Default title value if title attribute isn't present.
If a function is given, it will be called with its this reference set to the element that the popover is attached to.
trigger'click'manual cannot be combined with any other trigger.offset0fallbackPlacement'flip'boundary'scrollParent''viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs.sanitizetrue'template', 'content' and 'title' options will be sanitized.allowListsanitizeFnnullpopperConfignulloffset10methodautoauto will choose the best method to get scroll coordinates. offset will use the Element.getBoundingClientRect() method to get scroll coordinates. position will use the HTMLElement.offsetTop and HTMLElement.offsetLeft properties to get scroll coordinates.targetactivate.bs.scrollspyanimationtrueautohidetruedelay500
@@ -352,19 +352,19 @@ Hides an element's toast. Your toast will remain on the DOM but won't show anymo
show.bs.toastshow instance method is called.shown.bs.toasthide.bs.toasthide instance method has been called.hidden.bs.toastanimationtruecontainerfalseAppends the tooltip to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.
delay0Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type
If a number is supplied, delay is applied to both hide/show
@@ -194,9 +194,9 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opthtmlfalseAllow HTML in the tooltip.
If true, HTML tags in the tooltip's title will be rendered in the tooltip. If false, innerText property will be used to insert content into the DOM.
placement'top'How to position the tooltip - auto | top | bottom | left | right.
When auto is specified, it will dynamically reorient the tooltip.
When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the tooltip instance.
selectorfalsejQuery.on support). See this and an informative example.template'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'title''Default title value if title attribute isn't present.
If a function is given, it will be called with its this reference set to the element that the tooltip is attached to.
trigger'hover focus'How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.
'manual' indicates that the tooltip will be triggered programmatically via the .tooltip('show'), .tooltip('hide') and .tooltip('toggle') methods; this value cannot be combined with any other trigger.
offset0Offset of the tooltip relative to its target.
When a function is used to determine the offset, it is called with an object containing the offset data as its first argument. The function must return an object with the same structure. The triggering element DOM node is passed as the second argument.
@@ -259,40 +259,40 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` optfallbackPlacement'flip'boundary'scrollParent''viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs.sanitizetrue'template' and 'title' options will be sanitized.allowListsanitizeFnnullpopperConfignullshow.bs.tooltipshow instance method is called.shown.bs.tooltiphide.bs.tooltiphide instance method has been called.hidden.bs.tooltipinserted.bs.tooltipshow.bs.tooltip event when the tooltip template has been added to the DOM.