From f4bb7bcbff3770387c2fecfa91ce4a60b916a474 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 27 Nov 2020 08:04:00 +0000 Subject: update composer libs --- vendor/twbs/bootstrap/site/docs/4.5/components/carousel.md | 8 ++++++++ vendor/twbs/bootstrap/site/docs/4.5/components/popovers.md | 13 +++++++++++++ 2 files changed, 21 insertions(+) (limited to 'vendor/twbs/bootstrap/site/docs/4.5/components') diff --git a/vendor/twbs/bootstrap/site/docs/4.5/components/carousel.md b/vendor/twbs/bootstrap/site/docs/4.5/components/carousel.md index cdb0c6488..35bdd198f 100644 --- a/vendor/twbs/bootstrap/site/docs/4.5/components/carousel.md +++ b/vendor/twbs/bootstrap/site/docs/4.5/components/carousel.md @@ -321,6 +321,14 @@ Cycles to the next item. **Returns to the caller before the next item has been s Destroys an element's carousel. +#### `.carousel('nextWhenVisible')` + +Don't cycle the carousel to next when the page isn't visible or the carousel or its parent isn't visible. **Returns to the caller before the next item has been shown** (i.e. before the `slid.bs.carousel` event occurs). + +#### `.carousel('to')` + +Cycles the carousel to a particular frame (0 based, similar to an array). **Returns to the caller before the next item has been shown** (i.e. before the `slid.bs.carousel` event occurs). + ### Events Bootstrap's carousel class exposes two events for hooking into carousel functionality. Both events have the following additional properties: diff --git a/vendor/twbs/bootstrap/site/docs/4.5/components/popovers.md b/vendor/twbs/bootstrap/site/docs/4.5/components/popovers.md index bdd201b15..5b54d1c82 100644 --- a/vendor/twbs/bootstrap/site/docs/4.5/components/popovers.md +++ b/vendor/twbs/bootstrap/site/docs/4.5/components/popovers.md @@ -136,6 +136,19 @@ Enable popovers via JavaScript: {% highlight js %}$('#example').popover(options){% endhighlight %} +{% capture callout %} +##### GPU acceleration + +Popovers sometimes appear blurry on Windows 10 devices due to GPU acceleration and a modified system DPI. The workaround for this in v4 is to disable GPU acceleration as needed on your popovers. + +Suggested fix: + +{% highlight js %} +Popper.Defaults.modifiers.computeStyle.gpuAcceleration = !(window.devicePixelRatio < 1.5 && /Win/.test(navigator.platform)) +{% endhighlight %} +{% endcapture %} +{% include callout.html content=callout type="warning" %} + {% capture callout %} ### Making popovers work for keyboard and assistive technology users -- cgit v1.2.3