@types/selectables
TypeScript icon, indicating that this package has built-in type declarations

1.4.3 • Public • Published

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

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, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Soner Köksal.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/selectables

Weekly Downloads

3

Version

1.4.3

License

MIT

Unpacked Size

3.81 kB

Total Files

5

Last publish

Collaborators

  • types