1.4.3 • Published 6 months ago
@types/selectables v1.4.3
Installation
npm install --save @types/selectables
Summary
This package contains type definitions for selectables (https://github.com/p34eu/Selectables#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectables.
index.d.ts
// Type definitions for selectables 1.4
// Project: https://github.com/p34eu/Selectables#readme
// Definitions by: Soner Köksal <https://github.com/renjfk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = Selectables;
declare class Selectables {
options: Selectables.Options;
constructor(options?: Selectables.Options);
enable(): void;
disable(): void;
}
declare namespace Selectables {
interface Options {
zone?: string | undefined;
elements?: string | undefined;
selectedClass?: string | undefined;
key?: string | boolean | undefined;
moreUsing?: string | undefined;
enabled?: boolean | undefined;
start?(e: Event): void;
stop?(e: Event): void;
onSelect?(el: Element): void;
onDeselect?(el: Element): void;
}
}
Additional Details
- Last updated: Tue, 06 Jul 2021 16:34:29 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Soner Köksal.