Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelManager<M>

Type parameters

Hierarchy

Index

Constructors

constructor

  • Type parameters

    Returns ModelManager<M>

Properties

Readonly modelManagerObservers

modelManagerObservers: readonly ModelManagerObserver<Model, ModelManager<Model>>[]

Readonly rootModels

rootModels: readonly M[]

Methods

addModelManagerObserver

Protected didAddModelManagerObserver

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didInsertRootModel

  • didInsertRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

Protected didObserve

Protected didRemoveModelManagerObserver

Protected didRemoveRootModel

  • didRemoveRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

insertRootModel

  • insertRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

Protected onAddModelManagerObserver

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onInsertRootModel

  • onInsertRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

Protected onRemoveModelManagerObserver

Protected onRemoveRootModel

  • onRemoveRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

removeModelManagerObserver

removeRootModel

  • removeRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

Protected willAddModelManagerObserver

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willInsertRootModel

  • willInsertRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

Protected willObserve

Protected willRemoveModelManagerObserver

Protected willRemoveRootModel

  • willRemoveRootModel(rootModel: M): void
  • Parameters

    • rootModel: M

    Returns void

Generated using TypeDoc