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

0.3.3 • Public • Published

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

/// <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: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Zsolt Kovács.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery-awesome-cursor

Weekly Downloads

3

Version

0.3.3

License

MIT

Unpacked Size

4.26 kB

Total Files

5

Last publish

Collaborators

  • types