DefinitelyTyped

Index

Variables

Dynamic modules

Modules

Interfaces

Variables

$: JQueryStatic

_: _

Collection: Collection

Dictionary: Dictionary

(index: string): T in _.Dictionary<T>

Parameters

  • index: string

Returns

T in _.Dictionary<T>

List: List

(index: number): T in _.List<T>

Parameters

  • index: number

Returns

T in _.List<T>

public length: number

ListIterator: ListIterator

(value: T in _.ListIterator<T, TResult>, index: number, list: Array<T>): TResult in _.ListIterator<T, TResult>

Parameters

  • value: T in _.ListIterator<T, TResult>
  • index: number
  • list: Array<T>

Returns

TResult in _.ListIterator<T, TResult>

MemoIterator: MemoIterator

(prev: TResult in _.MemoIterator<T, TResult>, curr: T in _.MemoIterator<T, TResult>, index: number, list: Array<T>): TResult in _.MemoIterator<T, TResult>

Parameters

  • prev: TResult in _.MemoIterator<T, TResult>
  • curr: T in _.MemoIterator<T, TResult>
  • index: number
  • list: Array<T>

Returns

TResult in _.MemoIterator<T, TResult>

ObjectIterator: ObjectIterator

(element: T in _.ObjectIterator<T, TResult>, key: string, list: any): TResult in _.ObjectIterator<T, TResult>

Parameters

  • element: T in _.ObjectIterator<T, TResult>
  • key: string
  • list: any

Returns

TResult in _.ObjectIterator<T, TResult>

TemplateSettings: TemplateSettings

underscore.js template settings, set templateSettings or pass as an argument to 'template()' to override defaults.

optional public escape?: RegExp

Default value is '/<%-([\s\S]+?)%>/g'.

optional public evaluate?: RegExp

Default value is '/<%([\s\S]+?)%>/g'.

optional public interpolate?: RegExp

Default value is '/<%=([\s\S]+?)%>/g'.

ThrottleSettings: ThrottleSettings

underscore.js _.throttle options.

optional public leading?: boolean

If you'd like to disable the leading-edge call, pass this as false.

optional public trailing?: boolean

If you'd like to disable the execution on the trailing-edge, pass false.

jQuery: JQueryStatic