Interface KnockoutSubscribable

Hierarchy

Index

Methods

Methods

public extend(requestedExtenders: { [key: string]: any; }): KnockoutSubscribable

Parameters

  • requestedExtenders: { [key: string]: any; }

Returns

KnockoutSubscribable

public getSubscriptionsCount(): number

Returns

number

public notifySubscribers(valueToWrite?: T in KnockoutSubscribableFunctions<T>, event?: string)

Parameters

  • valueToWrite?: T in KnockoutSubscribableFunctions<T> optional
  • event?: string optional

public subscribe(callback: (newValue: T) => void, target?: any, event?: string): KnockoutSubscription

Parameters

  • callback: (newValue: T) => void
  • target?: any optional
  • event?: string optional

Returns

KnockoutSubscription

public subscribe(callback: (newValue: TEvent) => void, target: any, event: string): KnockoutSubscription

Parameters

  • callback: (newValue: TEvent) => void
  • target: any
  • event: string

Returns

KnockoutSubscription