Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 499 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 499 Bytes

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