Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CssContext

Hierarchy

Index

Methods

addConstraint

addConstraintVariable

constraint

constraintVariable

getCssRule

  • Parameters

    • ruleName: string

    Returns null | CssRule<CssContext>

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

getRule

  • getRule(index: number): null | CSSRule
  • Parameters

    • index: number

    Returns null | CSSRule

hasConstraint

hasConstraintVariable

hasCssRule

  • hasCssRule(ruleName: string): boolean
  • Parameters

    • ruleName: string

    Returns boolean

insertRule

  • insertRule(cssText: string, index?: number): number
  • Parameters

    • cssText: string
    • Optional index: number

    Returns number

removeConstraint

removeConstraintVariable

removeRule

  • removeRule(index: number): void
  • Parameters

    • index: number

    Returns void

setConstraintVariable

setCssRule

  • Parameters

    Returns void

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

Generated using TypeDoc