Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

@types/jquery-knob

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jquery-knob - npm Package Compare versions

Comparing version
1.2.27
to
1.2.28
+116
jquery-knob/index.d.ts
// Type definitions for jQuery Knob 1.2.11
// Project: http://anthonyterrien.com/knob/
// Definitions by: Iain Buchanan <https://github.com/iain8/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jquery" />
declare namespace JQueryKnob {
export interface JQueryKnobOptions {
/**
* min value | default=0
*/
min?: number;
/**
* max value | default=100
*/
max?: number;
/**
* step size | default=1
*/
step?: number;
/**
* starting angle in degrees | default=0
*/
angleOffset?: number;
/**
* arc size in degrees | default=360
*/
angleArc?: number;
/**
* stop at min & max on keydown/mousewheel | default=true
*/
stopper?: boolean;
/**
* disable input and events | default=false
*/
readOnly?: boolean;
/**
* direction of progression | default=clockwise
*/
rotation?: string;
/**
* display mode "cursor", cursor size could be changed passing a
* numeric value to the option, default width is used when passing
* boolean value "true" | default=gauge
*/
cursor?: string | boolean;
/**
* gauge thickness
*/
thickness?: number;
/**
* gauge stroke endings | default=butt, round=rounded line endings
*/
lineCap?: string;
/**
* dial width
*/
width?: number;
/**
* default=true | false=hide input
*/
displayInput?: boolean;
/**
* default=false | true=displays the previous value with transparency
*/
displayPrevious?: boolean;
/**
* foreground color
*/
fgColor?: string;
/**
* input value (number) color
*/
inputColor?: string;
/**
* font family
*/
font?: string;
/**
* font weight
*/
fontWeight?: string;
/**
* background color
*/
bgColor?: string;
/**
* executed on release
*/
release?: (value: number) => void;
/**
* executed at each change of the value
*/
change?: (value: number) => void;
/**
* when drawing the canvas
*/
draw?: () => void;
/**
* triggered on [esc] keydown
*/
cancel?: () => void;
/**
* allows to format output (add unit %, ms...)
*/
format?: (value: number) => void;
}
}
interface JQuery {
/**
* Create a knob for the given input field, with optional options
*/
knob(options?: JQueryKnob.JQueryKnobOptions): JQuery;
}
{
"name": "@types/jquery-knob",
"version": "1.2.28",
"description": "TypeScript definitions for jQuery Knob 1.2.11",
"license": "MIT",
"author": "Iain Buchanan <https://github.com/iain8/>",
"main": "",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {
"@types/jquery": "*"
},
"typings": "index.d.ts",
"typesPublisherContentHash": "ca63e164b309d4d3f80dc81f5fcfa1da769bd672039e6ed5818551cc69c29c81"
}
# Installation
> `npm install --save @types/jquery-knob`
# Summary
This package contains type definitions for jQuery Knob 1.2.11 (http://anthonyterrien.com/knob/).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/jquery-knob
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: Global
* Library Dependencies: jquery
* Module Dependencies: none
* Global values: none
# Credits
These definitions were written by Iain Buchanan <https://github.com/iain8/>.
{
"authors": "Iain Buchanan <https://github.com/iain8/>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [
"jquery"
],
"moduleDependencies": [],
"libraryMajorVersion": "1",
"libraryMinorVersion": "2",
"libraryName": "jQuery Knob 1.2.11",
"typingsPackageName": "jquery-knob",
"projectName": "http://anthonyterrien.com/knob/",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "Global",
"globals": [],
"declaredModules": [],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "ca63e164b309d4d3f80dc81f5fcfa1da769bd672039e6ed5818551cc69c29c81"
}
-116
// Type definitions for jQuery Knob 1.2.11
// Project: http://anthonyterrien.com/knob/
// Definitions by: Iain Buchanan <https://github.com/iain8/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jquery" />
declare namespace JQueryKnob {
export interface JQueryKnobOptions {
/**
* min value | default=0
*/
min?: number;
/**
* max value | default=100
*/
max?: number;
/**
* step size | default=1
*/
step?: number;
/**
* starting angle in degrees | default=0
*/
angleOffset?: number;
/**
* arc size in degrees | default=360
*/
angleArc?: number;
/**
* stop at min & max on keydown/mousewheel | default=true
*/
stopper?: boolean;
/**
* disable input and events | default=false
*/
readOnly?: boolean;
/**
* direction of progression | default=clockwise
*/
rotation?: string;
/**
* display mode "cursor", cursor size could be changed passing a
* numeric value to the option, default width is used when passing
* boolean value "true" | default=gauge
*/
cursor?: string | boolean;
/**
* gauge thickness
*/
thickness?: number;
/**
* gauge stroke endings | default=butt, round=rounded line endings
*/
lineCap?: string;
/**
* dial width
*/
width?: number;
/**
* default=true | false=hide input
*/
displayInput?: boolean;
/**
* default=false | true=displays the previous value with transparency
*/
displayPrevious?: boolean;
/**
* foreground color
*/
fgColor?: string;
/**
* input value (number) color
*/
inputColor?: string;
/**
* font family
*/
font?: string;
/**
* font weight
*/
fontWeight?: string;
/**
* background color
*/
bgColor?: string;
/**
* executed on release
*/
release?: (value: number) => void;
/**
* executed at each change of the value
*/
change?: (value: number) => void;
/**
* when drawing the canvas
*/
draw?: () => void;
/**
* triggered on [esc] keydown
*/
cancel?: () => void;
/**
* allows to format output (add unit %, ms...)
*/
format?: (value: number) => void;
}
}
interface JQuery {
/**
* Create a knob for the given input field, with optional options
*/
knob(options?: JQueryKnob.JQueryKnobOptions): JQuery;
}
{
"name": "@types/jquery-knob",
"version": "1.2.27",
"description": "TypeScript definitions for jQuery Knob 1.2.11",
"main": "",
"scripts": {},
"author": "Iain Buchanan <https://github.com/iain8/>",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"license": "MIT",
"typings": "index.d.ts",
"dependencies": {
"@types/jquery": "1.10.*"
}
}
# Installation
> `npm install --save @types/jquery-knob`
# Summary
This package contains type definitions for jQuery Knob 1.2.11 (http://anthonyterrien.com/knob/).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/jquery-knob
Additional Details
* Last updated: Thu, 14 Jul 2016 13:52:43 GMT
* File structure: Global
* Library Dependencies: jquery
* Module Dependencies: none
* Global values: none
# Credits
These definitions were written by Iain Buchanan <https://github.com/iain8/>.
{
"authors": "Iain Buchanan <https://github.com/iain8/>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [
"jquery"
],
"moduleDependencies": [],
"libraryMajorVersion": "1",
"libraryMinorVersion": "2",
"libraryName": "jQuery Knob 1.2.11",
"typingsPackageName": "jquery-knob",
"projectName": "http://anthonyterrien.com/knob/",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "Global",
"globals": [],
"declaredModules": [],
"files": [
"index.d.ts"
],
"contentHash": "ca63e164b309d4d3f80dc81f5fcfa1da769bd672039e6ed5818551cc69c29c81"
}