Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModalManager<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly matteView

matteView: null | View

Readonly modality

modality: number

Readonly modals

modals: readonly Modal[]

Readonly rootViews

rootViews: readonly V[]

Readonly viewManagerObservers

viewManagerObservers: readonly ModalManagerObserver<View, ModalManager<View>>[]

Methods

addViewManagerObserver

Protected attachEvents

  • attachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected detachEvents

  • detachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected didAddViewManagerObserver

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didDismissModal

  • didDismissModal(modal: Modal): void
  • Parameters

    Returns void

Protected didDisplaceModals

  • didDisplaceModals(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

Protected didInsertRootView

  • didInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected didObserve

Protected didPresentModal

  • Parameters

    Returns void

Protected didRemoveRootView

  • didRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected didRemoveViewManagerObserver

Protected didUpdateModality

  • didUpdateModality(newModality: number, oldModality: number): void
  • Parameters

    • newModality: number
    • oldModality: number

    Returns void

dismissModal

  • dismissModal(modal: Modal): void
  • Parameters

    Returns void

dismissModals

  • dismissModals(): void
  • Returns void

displaceModals

  • displaceModals(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

Protected insertModalView

  • insertModalView(modalView: View): void
  • Parameters

    Returns void

insertRootView

  • insertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

isModal

  • isModal(): boolean
  • Returns boolean

Protected onAddViewManagerObserver

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onClick

  • onClick(event: Event): void
  • Parameters

    • event: Event

    Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onDismissModal

  • onDismissModal(modal: Modal): void
  • Parameters

    Returns void

Protected onDisplaceModals

  • onDisplaceModals(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

Protected onInsertRootView

  • onInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onPresentModal

  • Parameters

    Returns void

Protected onRemoveRootView

  • onRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onRemoveViewManagerObserver

Protected onUpdateModality

  • onUpdateModality(newModality: number, oldModality: number): void
  • Parameters

    • newModality: number
    • oldModality: number

    Returns void

presentModal

  • Parameters

    Returns void

removeRootView

  • removeRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

removeViewManagerObserver

setMatteView

  • setMatteView(matteView: null | View): void
  • Parameters

    • matteView: null | View

    Returns void

toggleModal

  • Parameters

    Returns void

updateModality

  • updateModality(): void
  • Returns void

Protected willAddViewManagerObserver

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willDismissModal

  • willDismissModal(modal: Modal): void
  • Parameters

    Returns void

Protected willDisplaceModals

  • willDisplaceModals(event: null | Event): boolean
  • Parameters

    • event: null | Event

    Returns boolean

Protected willInsertRootView

  • willInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected willObserve

Protected willPresentModal

  • Parameters

    Returns void

Protected willRemoveRootView

  • willRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected willRemoveViewManagerObserver

Protected willUpdateModality

  • willUpdateModality(newModality: number, oldModality: number): void
  • Parameters

    • newModality: number
    • oldModality: number

    Returns void

Static global

  • Type parameters

    Returns ModalManager<V>

Static insertModalView

  • insertModalView(modalView: View): void
  • Parameters

    Returns void

Generated using TypeDoc