Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CssRule<V>

Type parameters

Hierarchy

Index

Properties

Readonly animationTracks

animationTracks: readonly AnimationTrack[]

Readonly name

name: undefined | string

Readonly owner

owner: V

Readonly rule

rule: CSSRule

Methods

addConstraint

addConstraintVariable

applyTheme

  • Parameters

    Returns void

constraint

constraintVariable

createRule

  • createRule(cssText?: string): CSSRule
  • Parameters

    • Optional cssText: string

    Returns CSSRule

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

hasConstraint

hasConstraintVariable

Optional initCss

  • initCss(): undefined | string
  • Returns undefined | string

Optional initRule

  • initRule(rule: CSSRule): CSSRule
  • Parameters

    • rule: CSSRule

    Returns CSSRule

mount

  • mount(): void
  • Returns void

onAnimate

  • onAnimate(t: number): void
  • Parameters

    • t: number

    Returns void

removeConstraint

removeConstraintVariable

setConstraintVariable

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

unmount

  • unmount(): void
  • Returns void

updateAnimations

  • updateAnimations(t: number): void
  • Parameters

    • t: number

    Returns void

Generated using TypeDoc