Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ThemeService<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly mood

Optional Readonly observerType

Readonly observers

observers: readonly ThemeServiceObserver<V, ThemeService<V>>[]

Readonly roots

roots: readonly V[]

Readonly theme

Accessors

attached

  • get attached(): boolean
  • Returns boolean

Methods

Protected applyTheme

  • Parameters

    Returns void

attachRoot

  • attachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

detachRoot

  • detachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected didApplyTheme

  • Parameters

    Returns void

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didAttachRoot

  • didAttachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didDetachRoot

  • didDetachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected didObserve

Protected didUnobserve

Protected forEachObserver

Protected initMood

  • Returns MoodVector<Feel>

Protected initTheme

  • Returns ThemeMatrix

observe

Protected onApplyTheme

  • Parameters

    Returns void

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onAttachRoot

  • onAttachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onDetachRoot

  • onDetachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected onObserve

Protected onUnobserve

setMood

  • Parameters

    Returns void

setTheme

  • Parameters

    Returns void

unobserve

Protected willApplyTheme

  • Parameters

    Returns void

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willAttachRoot

  • willAttachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willDetachRoot

  • willDetachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected willObserve

Protected willUnobserve

Static global

  • Type parameters

    Returns ThemeService<V>

Generated using TypeDoc