Interface DurandalEventSubscription

Index

Methods

Methods

public off(): DurandalEventSubscription

Cancels the subscription.

chainable

Returns

DurandalEventSubscription

public on(thenCallback: Function, context?: any): DurandalEventSubscription

Attaches a callback to the event subscription.

chainable

Parameters

  • thenCallback: Function
  • context?: any optional

Returns

DurandalEventSubscription

public then(thenCallback: Function, context?: any): DurandalEventSubscription

Attaches a callback to the event subscription.

chainable

Parameters

  • thenCallback: Function
  • context?: any optional

Returns

DurandalEventSubscription