2.7.32 • Published 6 months ago
@types/raty v2.7.32
Installation
npm install --save @types/raty
Summary
This package contains type definitions for jQuery.raty (https://github.com/wbotelhos/raty).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raty.
index.d.ts
// Type definitions for jQuery.raty 2.7.0
// Project: https://github.com/wbotelhos/raty
// Definitions by: Matt Wheatley <https://github.com/terrawheat>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery"/>
interface JQuery {
raty(): JQuery;
raty(options: JQueryRatyOptions): JQuery;
raty(method: string, parameter: any): any;
raty(method: 'score'): number;
raty(method: 'score', score: number): void;
raty(method: 'click', star: number): void;
raty(method: 'readonly', on: boolean): void;
raty(method: 'cancel', on: boolean): void;
raty(method: 'reload'): void;
raty(method: 'set', options: JQueryRatyOptions): void;
raty(method: 'destroy'): JQuery;
raty(method: 'move', number: number): void;
}
interface JQueryRatyOptions {
cancel?: boolean | undefined,
cancelClass?: string | undefined,
cancelHint?: string | undefined,
cancelOff?: string | undefined,
cancelOn?: string | undefined,
cancelPlace?: string | undefined,
click?: ((score: number, event: JQueryEventObject) => void) | undefined,
half?: boolean | undefined,
halfShow?: boolean | undefined,
hints?: string[] | undefined,
iconRange?: any[][] | undefined,
mouseout?: ((score: number, event: JQueryEventObject) => void) | undefined,
mouseover?: ((score: number, event: JQueryEventObject) => void) | undefined,
noRatedMsg?: string | undefined,
number?: number | undefined,
numberMax?: number | undefined,
path?: string | undefined,
precision?: boolean | undefined,
readOnly?: boolean | undefined,
round?: JQueryRatyRoundingOptions | undefined,
score?: number | undefined,
scoreName?: string | undefined,
single?: boolean | undefined,
space?: boolean | undefined,
starHalf?: string | undefined,
starOff?: string | undefined,
starOn?: string | undefined,
target?: string | undefined,
targetFormat?: string | undefined,
targetKeep?: boolean | undefined,
targetScore?: string | undefined,
targetText?: string | undefined,
targetType?: string | undefined,
starType?: string | undefined,
}
interface JQueryRatyRoundingOptions {
down: number,
full: number,
up: number,
}
Additional Details
- Last updated: Thu, 08 Jul 2021 20:20:17 GMT
- Dependencies: @types/jquery
- Global values: none
Credits
These definitions were written by Matt Wheatley.
2.7.32
6 months ago
2.7.31
7 months ago
2.7.30
8 months ago
2.7.29
3 years ago
2.7.28
7 years ago
2.7.27
7 years ago
2.7.26
8 years ago
2.7.25
8 years ago
2.7.24-alpha
8 years ago
2.7.23-alpha
8 years ago
2.7.22-alpha
8 years ago
2.7.21-alpha
8 years ago
2.7.20-alpha
8 years ago
2.7.19-alpha
8 years ago
2.7.18-alpha
8 years ago
2.7.13-alpha
8 years ago
2.7.12-alpha
8 years ago