mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 04:00:33 +08:00
velocity-animate: Support HTMLCollection in addition to NodeListOf<HTMLElement> (#27794)
This commit is contained in:
4
types/velocity-animate/index.d.ts
vendored
4
types/velocity-animate/index.d.ts
vendored
@@ -87,8 +87,8 @@ declare namespace jquery.velocity {
|
||||
interface VelocityStatic {
|
||||
Sequences: any;
|
||||
mock: any;
|
||||
animate(options: {elements: NodeListOf<HTMLElement>; properties: Properties; options: Options}): any;
|
||||
animate(elements: HTMLElement|NodeListOf<HTMLElement>, properties: Properties, options: Options): any;
|
||||
animate(options: {elements: HTMLCollection | NodeListOf<HTMLElement>; properties: Properties; options: Options}): any;
|
||||
animate(elements: HTMLElement | HTMLCollection | NodeListOf<HTMLElement>, properties: Properties, options: Options): any;
|
||||
RegisterEffect(name: string, options: RegisterEffectOptions): VelocityStatic;
|
||||
RunSequence(sequence: SequenceCall[]): VelocityStatic;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user