1.4.3 • Published 6 months ago

@types/selectables v1.4.3

Weekly downloads
6
License
MIT
Repository
github
Last release
6 months ago

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.

1.4.3

6 months ago

1.4.2

7 months ago

1.4.1

3 years ago

1.4.0

7 years ago