Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HistoryManager<C>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly componentManagerObservers

componentManagerObservers: readonly HistoryManagerObserver<Component, HistoryManager<Component>>[]

Readonly historyState

historyState: HistoryState

Readonly rootComponents

rootComponents: readonly C[]

Accessors

historyUri

  • get historyUri(): Uri
  • Returns Uri

Methods

addComponentManagerObserver

Protected attachEvents

  • attachEvents(): void
  • Returns void

Protected detachEvents

  • detachEvents(): void
  • Returns void

Protected didAddComponentManagerObserver

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didInsertRootComponent

  • didInsertRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

Protected didObserve

Protected didPopHistory

  • Parameters

    Returns void

Protected didPushHistory

  • Parameters

    Returns void

Protected didRemoveComponentManagerObserver

Protected didRemoveRootComponent

  • didRemoveRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

Protected didReplaceHistory

  • Parameters

    Returns void

insertRootComponent

  • insertRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

Protected onAddComponentManagerObserver

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onInsertRootComponent

  • onInsertRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

Protected onPopHistory

  • Parameters

    Returns void

Protected onPushHistory

  • Parameters

    Returns void

Protected onRemoveComponentManagerObserver

Protected onRemoveRootComponent

  • onRemoveRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

Protected onReplaceHistory

  • Parameters

    Returns void

popHistory

  • popHistory(event: PopStateEvent): void
  • Parameters

    • event: PopStateEvent

    Returns void

pushHistory

  • Parameters

    Returns void

removeComponentManagerObserver

removeRootComponent

  • removeRootComponent(rootComponent: C): void
  • Parameters

    • rootComponent: C

    Returns void

replaceHistory

  • Parameters

    Returns void

Protected willAddComponentManagerObserver

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willInsertRootComponent

  • willInsertRootComponent(rootComponent: C): void

Protected willObserve

Protected willPopHistory

  • Parameters

    Returns void

Protected willPushHistory

  • Parameters

    Returns void

Protected willRemoveComponentManagerObserver

Protected willRemoveRootComponent

  • willRemoveRootComponent(rootComponent: C): void

Protected willReplaceHistory

  • Parameters

    Returns void

Static global

  • Type parameters

    Returns HistoryManager<C>

Generated using TypeDoc