Dynamic module activator

Index

Variables

Functions

Variables

defaults: DurandalActivatorSettings

The default settings used by activators.

property

{ActivatorSettings} defaults

Functions

create(initialActiveItem?: T, settings?: DurandalActivatorSettings): DurandalActivator

Creates a new activator.

method

create

Parameters

Returns

DurandalActivator

The created activator.

isActivator(object: any): boolean

Determines whether or not the provided object is an activator or not.

method

isActivator

Parameters

  • object: any

    Any object you wish to verify as an activator or not.

Returns

boolean

True if the object is an activator; false otherwise.