Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

AnimationHook<TElement>: ((fx: Tween<TElement>) => void)

Type Parameters

  • TElement

Type declaration

    • (fx: Tween<TElement>): void
    • deprecated

      ‚Äč Deprecated since 1.8. Use `{@link Tween.propHooks jQuery.Tween.propHooks}`.

      jQuery.fx.step functions are being replaced by jQuery.Tween.propHooks and may eventually be removed, but are still supported via the default tween propHook.

      Parameters

      Returns void

CSSHook<TElement>: Partial<_CSSHook<TElement>> & (Pick<_CSSHook<TElement>, "get"> | Pick<_CSSHook<TElement>, "set">)

Type Parameters

  • TElement

CoordinatesPartial: Pick<Coordinates, "left"> | Pick<Coordinates, "top"> | {}
Duration: number | "fast" | "slow"
EasingMethod: ((percent: number) => number)

Type declaration

    • (percent: number): number
    • Parameters

      • percent: number

      Returns number

EventHandler<TCurrentTarget, TData>: EventHandlerBase<TCurrentTarget, TriggeredEvent<TCurrentTarget, TData>>

Type Parameters

  • TCurrentTarget

  • TData = undefined

EventHandlerBase<TContext, T>: ((this: TContext, t: T, ...args: any[]) => any)

Type Parameters

  • TContext

  • T

Type declaration

    • (this: TContext, t: T, ...args: any[]): any
    • Parameters

      • this: TContext
      • t: T
      • Rest ...args: any[]

      Returns any

Node: Element | Text | Comment | Document | DocumentFragment
PropHook<TElement>: { get: any } | { set: any } | {}
see

``

since

1.8

Type Parameters

  • TElement

Queue<TElement>: { 0: string } & QueueFunction<TElement>[]

Type Parameters

  • TElement

QueueFunction<TElement>: ((this: TElement, next: (() => void)) => void)

Type Parameters

  • TElement

Type declaration

    • (this: TElement, next: (() => void)): void
    • Parameters

      • this: TElement
      • next: (() => void)
          • (): void
          • Returns void

      Returns void

Selector: string

A selector is used in jQuery to select DOM elements from a DOM document. That document is, in most cases, the DOM document present in all browsers, but can also be an XML document received via Ajax.

SpecialEventHook<TTarget, TData>: { noBubble: boolean } | { bindType: string } | { delegateType: string } | { setup: any } | { teardown: any } | { add: any } | { remove: any } | { trigger: any } | { _default: any } | { handle: any } | { preDispatch: any } | { postDispatch: any } | {}

The jQuery special event hooks are a set of per-event-name functions and properties that allow code to control the behavior of event processing within jQuery. The mechanism is similar to fixHooks in that the special event information is stored in jQuery.event.special.NAME, where NAME is the name of the special event. Event names are case sensitive.

As with fixHooks, the special event hooks design assumes it will be very rare that two unrelated pieces of code want to process the same event name. Special event authors who need to modify events with existing hooks will need to take precautions to avoid introducing unwanted side-effects by clobbering those hooks.

see

``

Type Parameters

  • TTarget

  • TData

SpeedSettings<TElement>: { duration: JQuery.Duration } | { easing: string } | { complete: any } | {}

Type Parameters

  • TElement

Tweener<TElement>: ((this: JQuery.Animation<TElement>, propName: string, finalValue: number) => Tween<TElement>)

Type Parameters

  • TElement

Type declaration

    • A "Tweener" is a function responsible for creating a tween object, and you might want to override these if you want to implement complex values ( like a clip/transform array matrix ) in a single property.

      see

      ``

      since

      1.8

      Parameters

      Returns Tween<TElement>

TypeEventHandler<TDelegateTarget, TData, TCurrentTarget, TTarget, TType>: EventHandlerBase<TCurrentTarget, TypeToTriggeredEventMap<TDelegateTarget, TData, TCurrentTarget, TTarget>[TType]>

Type Parameters

  • TDelegateTarget

  • TData

  • TCurrentTarget

  • TTarget

  • TType extends keyof TypeToTriggeredEventMap<TDelegateTarget, TData, TCurrentTarget, TTarget>

TypeOrArray<T>: T | T[]

Type Parameters

  • T

ValHook<TElement>: { get: any } | { set: any } | {}

Type Parameters

  • TElement

_Falsy: false | null | undefined | 0 | "" | typeof document.all
_TypeEventHandlers<TDelegateTarget, TData, TCurrentTarget, TTarget>: { [ TType in keyof TypeToTriggeredEventMap<TDelegateTarget, TData, TCurrentTarget, TTarget>]?: TypeEventHandler<TDelegateTarget, TData, TCurrentTarget, TTarget, TType> | false | object }

Type Parameters

  • TDelegateTarget

  • TData

  • TCurrentTarget

  • TTarget

htmlString: string

A string is designated htmlString in jQuery documentation when it is used to represent one or more DOM elements, typically to be created and inserted in the document. When passed as an argument of the jQuery() function, the string is identified as HTML if it starts with <tag ... >) and is parsed as such until the final > character. Prior to jQuery 1.9, a string was considered to be HTML if it contained <tag ... > anywhere within the string.

Generated using TypeDoc