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

1.0.37 • Public • Published

Installation

npm install --save @types/jquery.timer

Summary

This package contains type definitions for jquery.timer (https://github.com/jchavannes/jquery-timer).

Details

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

index.d.ts

/// <reference types="jquery" />

interface JQueryTimer {
    // #region Constructors
    (action?: Function, time?: Number, autostart?: Boolean): Object;
    set(x: any): Object;
    // #endregion

    // #region Actions
    once(time: Number): Object;
    play(reset?: Boolean): Object;
    pause(): Object;
    stop(): Object;
    toggle(reset?: Boolean): Object;
    // #endregion

    // #region Properties
    isActive: Boolean;
    remaining: Number;
    // #endregion
}

interface JQuery {
    timer: JQueryTimer;
}

interface JQueryStatic {
    timer: JQueryTimer;
}

Additional Details

  • Last updated: Tue, 30 Jan 2024 21:35:45 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Joshua Strobl.

/@types/jquery.timer/

    Package Sidebar

    Install

    npm i @types/jquery.timer

    Weekly Downloads

    0

    Version

    1.0.37

    License

    MIT

    Unpacked Size

    3.83 kB

    Total Files

    5

    Last publish

    Collaborators

    • types