Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.31 to 1.2.32

216

jquery-knob/index.d.ts

@@ -10,113 +10,113 @@ // Type definitions for jQuery Knob 1.2.13

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;
/**
* dial height
*/
height?: 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;
}
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;
/**
* dial height
*/
height?: 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;
/**
* Create a knob for the given input field, with optional options
*/
knob(options?: JQueryKnob.JQueryKnobOptions): JQuery;
}
{
"name": "@types/jquery-knob",
"version": "1.2.31",
"version": "1.2.32",
"description": "TypeScript definitions for jQuery Knob",

@@ -14,5 +14,7 @@ "license": "MIT",

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/jquery-knob"
},

@@ -23,4 +25,4 @@ "scripts": {},

},
"typesPublisherContentHash": "222de2a4b4047c78c3ebc41bf0b3188f82521f17cd7f017d583905232304e574",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "72bd43b207b849fe2456aea50d1d33cdad6d510968e1eb48996b27f5c31c8c58",
"typeScriptVersion": "3.0"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-knob
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-knob.
Additional Details
* Last updated: Wed, 25 Oct 2017 18:38:02 GMT
* Dependencies: jquery
### Additional Details
* Last updated: Fri, 15 May 2020 04:09:46 GMT
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)
* Global values: none
# Credits
These definitions were written by Iain Buchanan <https://github.com/iain8>.
These definitions were written by [Iain Buchanan](https://github.com/iain8).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc