@types/tether
TypeScript definitions for tether
Last updated 2 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/tether 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/tether

Summary

This package contains type definitions for tether (https://github.com/shipshapecode/tether).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tether.

index.d.ts

export = Tether;
export as namespace Tether;

// global Tether constructor
declare class Tether {
    constructor(options: Tether.ITetherOptions);

    public setOptions(options: Tether.ITetherOptions): void;
    public disable(): void;
    public enable(): void;
    public destroy(): void;
    public position(): void;

    public static position(): void;
}

declare namespace Tether {
    interface ITetherOptions {
        attachment: string;
        bodyElement?: HTMLElement | undefined;
        classes?: { [className: string]: boolean | string } | undefined;
        classPrefix?: string | undefined;
        constraints?: ITetherConstraint[] | undefined;
        element?: HTMLElement | string | any | undefined /* JQuery */;
        enabled?: boolean | undefined;
        offset?: string | undefined;
        optimizations?: any;
        target?: HTMLElement | string | any | undefined /* JQuery */;
        targetAttachment?: string | undefined;
        targetOffset?: string | undefined;
        targetModifier?: string | undefined;
    }

    interface ITetherConstraint {
        attachment?: string | undefined;
        outOfBoundsClass?: string | undefined;
        pin?: boolean | string[] | undefined;
        pinnedClass?: string | undefined;
        to?: string | HTMLElement | number[] | undefined;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Adi Dahiya.

Current Tags

  • 1.4.9                                ...           latest (2 years ago)
  • 1.4.1                                ...           ts2.0 (9 years ago)
  • 1.4.1                                ...           ts2.1 (9 years ago)
  • 1.4.1                                ...           ts2.2 (9 years ago)
  • 1.4.4                                ...           ts2.3 (8 years ago)
  • 1.4.4                                ...           ts2.4 (8 years ago)
  • 1.4.4                                ...           ts2.5 (8 years ago)
  • 1.4.4                                ...           ts2.6 (8 years ago)
  • 1.4.4                                ...           ts2.7 (8 years ago)
  • 1.4.4                                ...           ts2.8 (8 years ago)
  • 1.4.4                                ...           ts2.9 (8 years ago)
  • 1.4.4                                ...           ts3.0 (8 years ago)
  • 1.4.4                                ...           ts3.1 (8 years ago)
  • 1.4.5                                ...           ts3.2 (6 years ago)
  • 1.4.5                                ...           ts3.3 (6 years ago)
  • 1.4.5                                ...           ts3.4 (6 years ago)
  • 1.4.5                                ...           ts3.5 (6 years ago)
  • 1.4.6                                ...           ts3.6 (5 years ago)
  • 1.4.6                                ...           ts3.7 (5 years ago)
  • 1.4.6                                ...           ts3.8 (5 years ago)
  • 1.4.6                                ...           ts3.9 (5 years ago)
  • 1.4.6                                ...           ts4.0 (5 years ago)
  • 1.4.6                                ...           ts4.1 (5 years ago)
  • 1.4.6                                ...           ts4.2 (5 years ago)
  • 1.4.7                                ...           ts4.3 (3 years ago)
  • 1.4.7                                ...           ts4.4 (3 years ago)
  • 1.4.9                                ...           ts4.5 (2 years ago)
  • 1.4.9                                ...           ts4.6 (2 years ago)
  • 1.4.9                                ...           ts4.7 (2 years ago)
  • 1.4.9                                ...           ts4.8 (2 years ago)
  • 1.4.9                                ...           ts4.9 (2 years ago)
  • 1.4.9                                ...           ts5.0 (2 years ago)
  • 1.4.9                                ...           ts5.1 (2 years ago)
  • 1.4.9                                ...           ts5.2 (2 years ago)
  • 1.4.9                                ...           ts5.3 (2 years ago)
  • 1.4.9                                ...           ts5.4 (2 years ago)
  • 1.4.9                                ...           ts5.5 (2 years ago)
  • 1.4.9                                ...           ts5.6 (2 years ago)
  • 1.4.9                                ...           ts5.7 (2 years ago)
  • 1.4.9                                ...           ts5.8 (2 years ago)
  • 1.4.9                                ...           ts5.9 (2 years ago)
  • 1.4.9                                ...           ts6.0 (2 years ago)

21 Versions

  • 1.4.9                                ...           2 years ago
  • 1.4.8                                ...           2 years ago
  • 1.4.7                                ...           3 years ago
  • 1.4.6                                ...           5 years ago
  • 1.4.5                                ...           6 years ago
  • 1.4.4                                ...           8 years ago
  • 1.4.3                                ...           9 years ago
  • 1.4.2                                ...           9 years ago
  • 1.4.1                                ...           9 years ago
  • 1.4.0                                ...           9 years ago
  • 1.1.27                                ...           10 years ago
  • 1.1.26                                ...           10 years ago
  • 1.1.25-alpha                                ...           10 years ago
  • 1.1.24-alpha                                ...           10 years ago
  • 1.1.23-alpha                                ...           10 years ago
  • 1.1.22-alpha                                ...           10 years ago
  • 1.1.21-alpha                                ...           10 years ago
  • 1.1.20-alpha                                ...           10 years ago
  • 1.1.19-alpha                                ...           10 years ago
  • 1.1.14-alpha                                ...           10 years ago
  • 1.1.13-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |