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.