Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StyleContext

Hierarchy

Index

Properties

Readonly node

node: null | Node

Methods

addConstraint

addConstraintVariable

applyTheme

  • Parameters

    Returns void

constraint

constraintVariable

getLook

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getLookOr

  • getLookOr<T, E>(look: Look<T, unknown>, elseValue: E): T | E
  • getLookOr<T, E>(look: Look<T, unknown>, mood: null | MoodVector<Feel>, elseValue: E): T | E
  • Type parameters

    • T

    • E

    Parameters

    • look: Look<T, unknown>
    • elseValue: E

    Returns T | E

  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

getStyle

  • getStyle(propertyNames: string | readonly string[]): undefined | string | CSSStyleValue
  • Parameters

    • propertyNames: string | readonly string[]

    Returns undefined | string | CSSStyleValue

getStyleAnimator

  • Parameters

    • animatorName: string

    Returns null | StyleAnimator<StyleContext, unknown, never>

hasConstraint

hasConstraintVariable

hasStyleAnimator

  • hasStyleAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

removeConstraint

removeConstraintVariable

requireUpdate

  • requireUpdate(updateFlags: number): void
  • Parameters

    • updateFlags: number

    Returns void

setConstraintVariable

setStyle

  • setStyle(propertyName: string, value: unknown, priority?: string): StyleContext
  • Parameters

    • propertyName: string
    • value: unknown
    • Optional priority: string

    Returns StyleContext

setStyleAnimator

  • Parameters

    Returns void

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

Generated using TypeDoc