Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LayoutService<V>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional Readonly observerType

Readonly observers

observers: readonly LayoutServiceObserver<V, LayoutService<V>>[]

Readonly roots

roots: readonly V[]

Readonly solver

Accessors

attached

  • get attached(): boolean
  • Returns boolean

Methods

activateConstraint

  • activateConstraint(constraint: Constraint): void

activateConstraintVariable

attachRoot

  • attachRoot(root: V): void
  • Parameters

    • root: V

    Returns void

Protected createSolver

  • Returns ConstraintSolver

deactivateConstraint

  • deactivateConstraint(constraint: Constraint): void

deactivateConstraintVariable

detachRoot

  • detachRoot(root: V): void
  • Parameters

    • root: V

    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

observe

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

setConstraintVariable

unobserve

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 LayoutService<V>

Generated using TypeDoc