diff --git a/velocity-animate/velocity-animate.d.ts b/velocity-animate/velocity-animate.d.ts index 00c421896..6946da972 100644 --- a/velocity-animate/velocity-animate.d.ts +++ b/velocity-animate/velocity-animate.d.ts @@ -34,6 +34,16 @@ declare module jquery.velocity { animate(options: {elements: NodeListOf; properties: Object; options: VelocityOptions}): void; animate(elements: NodeListOf, 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 {