Home Reference Source
public class | source

Focusable

Extends:

* → Focusable

Focusable plugin

Constructor Summary

Public Constructor
public

constructor(draggable: Draggable)

Focusable constructor.

Member Summary

Public Members
public

Focusable options

Method Summary

Public Methods
public

attach()

Attaches listeners to draggable

public

detach()

Detaches listeners from draggable

public

getElements(): HTMLElement[]

Returns draggable containers and elements

public

Returns options passed through draggable

Private Methods
private

Destroy handler

private

Intialize handler

Public Constructors

public constructor(draggable: Draggable) source

Focusable constructor.

Params:

NameTypeAttributeDescription
draggable Draggable

Draggable instance

Public Members

public options: Object source

Focusable options

Properties:

NameTypeAttributeDescription
options Object

Public Methods

public attach() source

Attaches listeners to draggable

public detach() source

Detaches listeners from draggable

public getElements(): HTMLElement[] source

Returns draggable containers and elements

Return:

HTMLElement[]

public getOptions(): Object source

Returns options passed through draggable

Return:

Object

Private Methods

private [onDestroy]() source

Destroy handler

private [onInitialize]() source

Intialize handler