Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Implements

  • MVCObject
  • MVCArray<T>

Index

Constructors

constructor

Properties

addListener

addListener: Mock<any, any> = jest.fn().mockImplementation((eventName: string, handler: (...args: any[]) => void): void => {})

bindTo

bindTo: Mock<any, any> = jest.fn().mockImplementation((key: string,target: MVCObject,targetKey?: string,noNotify?: boolean): void => {})

changed

changed: Mock<any, any> = jest.fn().mockImplementation((key: string): void => {})

clear

clear: Mock<any, any> = jest.fn().mockImplementation((): void => {})

forEach

forEach: Mock<any, any> = jest.fn().mockImplementation((callback: (elem: T, i: number) => void): void => {})

get

get: Mock<any, any> = jest.fn().mockImplementation((key: string): any => {})

getArray

getArray: Mock<any, any> = jest.fn().mockImplementation((): T[] => [])

getAt

getAt: Mock<any, any> = jest.fn().mockImplementation((i: number): T => ({} as T))

getLength

getLength: Mock<any, any> = jest.fn().mockImplementation((): number => 0)

insertAt

insertAt: Mock<any, any> = jest.fn().mockImplementation((i: number, elem: T): void => {})

notify

notify: Mock<any, any> = jest.fn().mockImplementation((key: string): void => {})

pop

pop: Mock<any, any> = jest.fn().mockImplementation((): T => ({} as T))

push

push: Mock<any, any> = jest.fn().mockImplementation((elem: T): number => 0)

removeAt

removeAt: Mock<any, any> = jest.fn().mockImplementation((i: number): T => ({} as T))

set

set: Mock<any, any> = jest.fn().mockImplementation((key: string, value: any): void => {})

setAt

setAt: Mock<any, any> = jest.fn().mockImplementation((i: number, elem: T): void => {})

setValues

setValues: Mock<any, any> = jest.fn().mockImplementation((values: any): void => {})

unbind

unbind: Mock<any, any> = jest.fn().mockImplementation((key: string): void => {})

unbindAll

unbindAll: Mock<any, any> = jest.fn().mockImplementation(() => {})

Generated using TypeDoc