Skip to content

Files

Latest commit

bdb6f29 · Apr 4, 2018

History

History
This branch is 199 commits behind Shopify/draggable:main.

Focusable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 4, 2018
Apr 4, 2018
Apr 4, 2018
Apr 4, 2018

Focusable

The Focusable plugin finds all draggable containers and elements on initialization and decorates them with tabindex attributes. The plugin will not override existing tabindex attributes on elements. This will make draggable elements and containers focusable.

API

new Focusable(draggable: Draggable): Focusable
To create an focusable plugin instance.

focusable.getElements(): HTMLElement[]
Returns container and draggable elements.

Options

No options