Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/stack"

Index

Type aliases

StackImmutable

StackImmutable: ReadonlyArray<IDataImmutable>

StackMutable

StackMutable: Array<IDataMutable>

StackMutableImmutable

StackMutableImmutable: Array<IDataImmutable>

Variables

Const emitter

emitter: StackEventEmitter = new EventEmitter()

Const immutable

immutable: StackImmutable = mutable

Const mutable

mutable: StackMutableImmutable = []

Const stackEventEmitter

stackEventEmitter: IEventEmitter = emitter

Functions

stackPop

  • stackPop(count: number): void

stackPush

  • stackPush<P>(screen: ScreenComponentClass<P>): void
  • Type parameters

    • P

    Parameters

    • screen: ScreenComponentClass<P>

    Returns void

stackReplace

  • stackReplace<P>(screen: ScreenComponentClass<P>): void
  • Type parameters

    • P

    Parameters

    • screen: ScreenComponentClass<P>

    Returns void

stackReset

  • stackReset<P>(screen: ScreenComponentClass<P>): void
  • Type parameters

    • P

    Parameters

    • screen: ScreenComponentClass<P>

    Returns void