flyout-block
Advanced tools
Changelog
[1.2.0] - 2023-05-31
inert
functions on HTMLElement
when initializing.RequireBundle
library.Changelog
[1.1.5] - 2023-01-24
initTriggers
to allow reinitializing triggers after adding or replacing sections on the page which contains flyout block trigger elements.Changelog
[1.1.4] - 2021-08-12
inert
functions preventing animations to work while openning a flyout-block.Changelog
[1.1.3] - 2021-08-11
role
attribute when opening it, instead of setting at initialization.inert
, instead of just the elements siblings.Changelog
[1.1.2] - 2021-05-10
href
attribute that didn't point to an element in the page.Changelog
[1.1.1] - 2021-05-07
data-autofocus
on the flyout element to focus on the first focusable element.fade-in-up
and fade-out-down
.fade-out-down
animation as moving up instead of down.Changelog
[1.1.0] - 2021-04-28
data-flyout-description
.inert
during the time it is open. Letting users focus only on elements inside the currently displayed flyout block.inert
polyfill, see more information at the Inert polyfill repository.data-autofocus
if focusabled, and allow developers to define a manual focus mode with data-flyout-manual-focus
, otherwise focus on the flyout content.role
to the flyout block element to dialog
or alertdialog
with support to set the value via data-flyout-role
.hidden
on flyout block elements to hide content for when JavaScript and CSS is unavailable.href
of a link attribute.role
to button
.disabled
and aria-hidden
on trigger elements at initialization.body
element.hammerjs
.