Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebStorageManager<C>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly controllerManagerObservers

controllerManagerObservers: readonly StorageManagerObserver<Controller, StorageManager<Controller>>[]

Readonly rootControllers

rootControllers: readonly C[]

Readonly storage

storage: Storage

Methods

addControllerManagerObserver

Protected attachEvents

  • attachEvents(): void
  • Returns void

clear

  • clear(): void
  • Returns void

Protected detachEvents

  • detachEvents(): void
  • Returns void

Protected didAddControllerManagerObserver

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didClear

  • didClear(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didInsertRootController

  • didInsertRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected didObserve

Protected didRemoveControllerManagerObserver

Protected didRemoveRootController

  • didRemoveRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected didSet

  • didSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

get

  • get(key: string): undefined | string
  • Parameters

    • key: string

    Returns undefined | string

insertRootController

  • insertRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

Protected onAddControllerManagerObserver

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onClear

  • onClear(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onInsertRootController

  • onInsertRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected onRemoveControllerManagerObserver

Protected onRemoveRootController

  • onRemoveRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected onSet

  • onSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

onStorage

  • onStorage(event: StorageEvent): void
  • Parameters

    • event: StorageEvent

    Returns void

removeControllerManagerObserver

removeRootController

  • removeRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

set

  • set(key: string, newValue: undefined | string): undefined | string
  • Parameters

    • key: string
    • newValue: undefined | string

    Returns undefined | string

Protected willAddControllerManagerObserver

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willClear

  • willClear(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willInsertRootController

  • willInsertRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected willObserve

Protected willRemoveControllerManagerObserver

Protected willRemoveRootController

  • willRemoveRootController(rootController: C): void
  • Parameters

    • rootController: C

    Returns void

Protected willSet

  • willSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

Static global

Static local

  • Type parameters

    Returns null | WebStorageManager<C>

Static session

  • Type parameters

    Returns null | WebStorageManager<C>

Generated using TypeDoc