mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-31 11:40:47 +08:00
Update velocity-animate.d.ts
add hook functions (http://julian.com/research/velocity/#hook)
This commit is contained in:
+10
@@ -34,6 +34,16 @@ declare module jquery.velocity {
|
||||
animate(options: {elements: NodeListOf<HTMLElement>; properties: Object; options: VelocityOptions}): void;
|
||||
animate(elements: NodeListOf<HTMLElement>, properties: Object, options: VelocityOptions): void;
|
||||
animate(element: HTMLElement, properties: Object, options: VelocityOptions): void;
|
||||
/**
|
||||
* Get a hook value. Hooks are the subvalues of multi-value CSS properties.
|
||||
* It features the same API as $.css().
|
||||
*/
|
||||
hook(element: HTMLElement|JQuery, cssKey: string): string;
|
||||
/**
|
||||
* Set a hook value. Hooks are the subvalues of multi-value CSS properties.
|
||||
* It features the same API as $.css().
|
||||
*/
|
||||
hook(element: HTMLElement|JQuery, cssKey: string, cssValue: string): void;
|
||||
}
|
||||
|
||||
interface VelocityOptions {
|
||||
|
||||
Reference in New Issue
Block a user