epic-slidy
Version:
An EPIC slider
53 lines (52 loc) • 947 B
TypeScript
import Slidy from '..';
import { Options } from '../defs';
/**
* Create controls.
*/
export declare class Controls {
private _slidy;
private _opts;
/**
* Disable control.
*/
private static disable;
/**
* Enable control.
*/
private static enable;
private _el;
private _prev;
private _next;
/**
* Creates an instance of Controls.
*/
constructor(_slidy: Slidy, _opts: Options);
/**
* Destroy component.
*/
destroy(): void;
/**
* Init component.
*/
private _init;
/**
* Bind event handlers.
*/
private _bind;
/**
* Bind controls handlers
*/
private _bindControls;
/**
* On prev click.
*/
private _prevClick;
/**
* On next click.
*/
private _nextClick;
/**
* Update controls.
*/
private _update;
}