mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #4946 from pchab/patch-1
Update velocity-animate.d.ts
This commit is contained in:
commit
f9ff74179f
1 file changed
+10
+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