@types/mina
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -6,3 +6,11 @@ // Type definitions for mina Snap-SVG 0.4 | ||
declare function mina(a: number, A: number, b: number, B: number, get: () => number, set: (time: number) => void, easing?: (num: number) => number): mina.AnimationDescriptor; | ||
declare function mina( | ||
a: number, | ||
A: number, | ||
b: number, | ||
B: number, | ||
get: () => number, | ||
set: (time: number) => void, | ||
easing?: (num: number) => number, | ||
): mina.AnimationDescriptor; | ||
declare namespace mina { | ||
@@ -9,0 +17,0 @@ interface MinaAnimation { |
{ | ||
"name": "@types/mina", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "TypeScript definitions for mina Snap-SVG", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina", | ||
"license": "MIT", | ||
@@ -32,4 +33,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "84db8503f714c95f7edb889447129f7ffc7591905c1e62164929580e9dafa5f4", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "facf3e52137093b9a3c20473478db95f5241b9eece9564143e933abfcbc525bf", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,5 +9,67 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina/index.d.ts) | ||
````ts | ||
// Type definitions for mina Snap-SVG 0.4 | ||
// Project: https://github.com/adobe-webplatform/Snap.svg | ||
// Definitions by: Lars Klein <https://github.com/lhk>, Mattanja Kern <https://github.com/mattanja>, Andrey Kurdyumov <https://github.com/kant2002> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
declare function mina( | ||
a: number, | ||
A: number, | ||
b: number, | ||
B: number, | ||
get: () => number, | ||
set: (time: number) => void, | ||
easing?: (num: number) => number, | ||
): mina.AnimationDescriptor; | ||
declare namespace mina { | ||
interface MinaAnimation { | ||
id: string; | ||
duration(): number; | ||
easing(): number; | ||
speed(): number; | ||
status(): number; | ||
stop(): void; | ||
} | ||
interface AnimationDescriptor { | ||
id: string; | ||
start: number; | ||
end: number; | ||
b: number; | ||
s: number; | ||
dur: number; | ||
spd: number; | ||
get(): number; | ||
set(slave: number): number; | ||
easing(input: number): number; | ||
status(): number; | ||
status(newStatus: number): void; | ||
speed(): number; | ||
speed(newSpeed: number): void; | ||
duration(): number; | ||
duration(newDuration: number): void; | ||
stop(): void; | ||
pause(): void; | ||
resume(): void; | ||
update(): void; | ||
} | ||
function backin(n: number): number; | ||
function backout(n: number): number; | ||
function bounce(n: number): number; | ||
function easein(n: number): number; | ||
function easeinout(n: number): number; | ||
function easeout(n: number): number; | ||
function elastic(n: number): number; | ||
function getById(id: string): AnimationDescriptor; | ||
function linear(n: number): number; | ||
function time(): number; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 17 Sep 2020 18:03:38 GMT | ||
* Last updated: Wed, 27 Sep 2023 09:42:16 GMT | ||
* Dependencies: none | ||
@@ -14,0 +76,0 @@ * Global values: `mina` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6376
55
1
79