0.3.3 • Published 6 months ago

@types/jquery-awesome-cursor v0.3.3

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

Installation

npm install --save @types/jquery-awesome-cursor

Summary

This package contains type definitions for jquery-awesome-cursor (https://jwarby.github.io/jquery-awesome-cursor).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-awesome-cursor.

index.d.ts

// Type definitions for jquery-awesome-cursor 0.3
// Project: https://jwarby.github.io/jquery-awesome-cursor
// Definitions by: Zsolt Kovács <https://github.com/zskovacs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="jquery" />
declare namespace JQueryAwesomeCursor {
    type flip = "horizontal" | "vertical" | "both";
    type cssHandler = (name: string) => void;

    interface Options {
        color?: string | undefined;
        size?: number | undefined;
        hotspot?: number[] | string | undefined;
        flip?: flip | undefined;
        rotate?: number | undefined;
        outline?: string | undefined;
        font?: Font | undefined;
    }

    interface Font {
        family: string;
        cssClass: string | cssHandler;
    }
}

interface JQueryStatic {
    awesomeCursor(icon: string, options?: JQueryAwesomeCursor.Options): JQuery;
}

interface JQuery {
    awesomeCursor(icon: string, options?: JQueryAwesomeCursor.Options): JQuery;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:23:38 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Zsolt Kovács.

0.3.2

7 months ago

0.3.3

6 months ago

0.3.1

3 years ago

0.3.0

6 years ago