Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StyleRule<V>

Type parameters

Hierarchy

Callable

  • StyleRule(property: string): unknown
  • StyleRule(property: string, value: unknown): V
  • Parameters

    • property: string

    Returns unknown

  • Parameters

    • property: string
    • value: unknown

    Returns V

Index

Properties

Methods

Properties

Readonly alignContent

alignContent: StyleAnimator<StyleRule<V>, undefined | AlignContent, never>

Readonly alignItems

alignItems: StyleAnimator<StyleRule<V>, undefined | AlignItems, never>

Readonly alignSelf

alignSelf: StyleAnimator<StyleRule<V>, undefined | AlignSelf, never>

Readonly animationTracks

animationTracks: readonly AnimationTrack[]

Readonly appearance

appearance: StyleAnimator<StyleRule<V>, undefined | Appearance, never>

Readonly backdropFilter

backdropFilter: StyleAnimator<StyleRule<V>, undefined | string, never>

Readonly backgroundClip

backgroundClip: StyleAnimator<StyleRule<V>, undefined | BackgroundClip, never>

Readonly backgroundColor

backgroundColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly backgroundImage

backgroundImage: StyleAnimator<StyleRule<V>, null | string | LinearGradient, null | AnyLinearGradient>

Readonly borderBottomColor

borderBottomColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly borderBottomLeftRadius

borderBottomLeftRadius: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderBottomRightRadius

borderBottomRightRadius: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderBottomStyle

borderBottomStyle: StyleAnimator<StyleRule<V>, undefined | BorderStyle, never>

Readonly borderBottomWidth

borderBottomWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderCollapse

borderCollapse: StyleAnimator<StyleRule<V>, undefined | BorderCollapse, never>

Readonly borderLeftColor

borderLeftColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly borderLeftStyle

borderLeftStyle: StyleAnimator<StyleRule<V>, undefined | BorderStyle, never>

Readonly borderLeftWidth

borderLeftWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderRightColor

borderRightColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly borderRightStyle

borderRightStyle: StyleAnimator<StyleRule<V>, undefined | BorderStyle, never>

Readonly borderRightWidth

borderRightWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderSpacing

borderSpacing: StyleAnimator<StyleRule<V>, undefined | string, never>

Readonly borderTopColor

borderTopColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly borderTopLeftRadius

borderTopLeftRadius: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderTopRightRadius

borderTopRightRadius: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly borderTopStyle

borderTopStyle: StyleAnimator<StyleRule<V>, undefined | BorderStyle, never>

Readonly borderTopWidth

borderTopWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly bottom

Readonly boxShadow

boxShadow: StyleAnimator<StyleRule<V>, null | BoxShadow, null | AnyBoxShadow>

Readonly boxSizing

boxSizing: StyleAnimator<StyleRule<V>, undefined | BoxSizing, never>

Readonly color

color: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly cursor

cursor: StyleAnimator<StyleRule<V>, undefined | CssCursor, never>

Readonly display

display: StyleAnimator<StyleRule<V>, undefined | CssDisplay, never>

Readonly filter

filter: StyleAnimator<StyleRule<V>, undefined | string, never>

Readonly flexBasis

flexBasis: StyleAnimator<StyleRule<V>, null | FlexBasis, null | string | number | Length>

Readonly flexDirection

flexDirection: StyleAnimator<StyleRule<V>, string, never>

Readonly flexGrow

flexGrow: StyleAnimator<StyleRule<V>, undefined | number, never>

Readonly flexShrink

flexShrink: StyleAnimator<StyleRule<V>, undefined | number, never>

Readonly flexWrap

flexWrap: StyleAnimator<StyleRule<V>, undefined | FlexWrap, never>

Readonly fontFamily

fontFamily: StyleAnimator<StyleRule<V>, undefined | string | string[], undefined | string | readonly string[]>

Readonly fontSize

fontSize: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly fontStretch

fontStretch: StyleAnimator<StyleRule<V>, undefined | FontStretch, never>

Readonly fontStyle

fontStyle: StyleAnimator<StyleRule<V>, undefined | FontStyle, never>

Readonly fontVariant

fontVariant: StyleAnimator<StyleRule<V>, undefined | FontVariant, never>

Readonly fontWeight

fontWeight: StyleAnimator<StyleRule<V>, undefined | FontWeight, never>

Readonly height

Readonly justifyContent

justifyContent: StyleAnimator<StyleRule<V>, undefined | JustifyContent, never>

Readonly left

Readonly lineHeight

lineHeight: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly marginBottom

marginBottom: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly marginLeft

marginLeft: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly marginRight

marginRight: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly marginTop

marginTop: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly maxHeight

maxHeight: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly maxWidth

maxWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly minHeight

minHeight: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly minWidth

minWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly name

name: undefined | string

Readonly node

node: null | Node

Readonly opacity

opacity: StyleAnimator<StyleRule<V>, undefined | number, never>

Readonly order

order: StyleAnimator<StyleRule<V>, undefined | number, never>

Readonly outlineColor

outlineColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly outlineStyle

outlineStyle: StyleAnimator<StyleRule<V>, undefined | BorderStyle, never>

Readonly outlineWidth

outlineWidth: StyleAnimator<StyleRule<V>, null | Length, null | AnyLength>

Readonly overflowScrolling

overflowScrolling: StyleAnimator<StyleRule<V>, undefined | "touch" | "auto", never>

Readonly overflowX

overflowX: StyleAnimator<StyleRule<V>, undefined | Overflow, never>

Readonly overflowY

overflowY: StyleAnimator<StyleRule<V>, undefined | Overflow, never>

Readonly overscrollBehaviorX

overscrollBehaviorX: StyleAnimator<StyleRule<V>, undefined | OverscrollBehavior, never>

Readonly overscrollBehaviorY

overscrollBehaviorY: StyleAnimator<StyleRule<V>, undefined | OverscrollBehavior, never>

Readonly owner

owner: V

Readonly paddingBottom

paddingBottom: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly paddingLeft

paddingLeft: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly paddingRight

paddingRight: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly paddingTop

paddingTop: StyleAnimatorConstraint<StyleRule<V>, null | Length, null | AnyLength>

Readonly pointerEvents

pointerEvents: StyleAnimator<StyleRule<V>, undefined | PointerEvents, never>

Readonly position

position: StyleAnimator<StyleRule<V>, undefined | Position, never>

Readonly right

Readonly rule

rule: CSSStyleRule

Readonly selector

selector: string

styleAnimators

styleAnimators: {}

Type declaration

Readonly textAlign

textAlign: StyleAnimator<StyleRule<V>, undefined | TextAlign, never>

Readonly textDecorationColor

textDecorationColor: StyleAnimator<StyleRule<V>, null | Color, null | AnyColor>

Readonly textDecorationLine

textDecorationLine: StyleAnimator<StyleRule<V>, undefined | string, never>

Readonly textDecorationStyle

textDecorationStyle: StyleAnimator<StyleRule<V>, undefined | TextDecorationStyle, never>

Readonly textOverflow

textOverflow: StyleAnimator<StyleRule<V>, undefined | string, never>

Readonly textTransform

textTransform: StyleAnimator<StyleRule<V>, undefined | TextTransform, never>

Readonly top

Readonly touchAction

touchAction: StyleAnimator<StyleRule<V>, undefined | TouchAction, never>

Readonly transform

transform: StyleAnimator<StyleRule<V>, null | Transform, null | AnyTransform>

Readonly userSelect

userSelect: StyleAnimator<StyleRule<V>, undefined | UserSelect, never>

Readonly verticalAlign

verticalAlign: StyleAnimator<StyleRule<V>, undefined | VerticalAlign, undefined | string | number | Length>

Readonly visibility

visibility: StyleAnimator<StyleRule<V>, undefined | Visibility, never>

Readonly whiteSpace

whiteSpace: StyleAnimator<StyleRule<V>, undefined | WhiteSpace, never>

Readonly width

Readonly zIndex

zIndex: StyleAnimator<StyleRule<V>, undefined | number, never>

Methods

addConstraint

  • Parameters

    Returns void

addConstraintVariable

  • Parameters

    Returns void

applyTheme

  • Parameters

    Returns void

borderColor

  • Returns null | Color | [null | Color, null | Color, null | Color, null | Color]

  • Parameters

    Returns StyleRule<V>

borderRadius

  • Returns null | Length | [null | Length, null | Length, null | Length, null | Length]

  • Parameters

    Returns StyleRule<V>

borderStyle

borderWidth

  • Returns null | Length | [null | Length, null | Length, null | Length, null | Length]

  • Parameters

    Returns StyleRule<V>

constraint

constraintVariable

  • Parameters

    Returns ConstraintBinding

createRule

  • createRule(cssText: string): CSSStyleRule
  • Parameters

    • cssText: string

    Returns CSSStyleRule

didSetStyle

  • didSetStyle(propertyName: string, value: unknown, priority: undefined | string): void
  • Parameters

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

font

  • Returns null | Font

  • Parameters

    • value: null | AnyFont
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns StyleRule<V>

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<StyleRule<V>, unknown, never>

hasConstraint

  • Parameters

    Returns boolean

hasConstraintVariable

  • Parameters

    Returns boolean

hasStyleAnimator

  • hasStyleAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

Optional initCss

  • initCss(): string
  • Returns string

Optional initRule

  • initRule(rule: CSSStyleRule): CSSStyleRule
  • Parameters

    • rule: CSSStyleRule

    Returns CSSStyleRule

isMounted

  • isMounted(): boolean
  • Returns boolean

margin

  • Returns null | Length | [null | Length, null | Length, null | Length, null | Length]

  • Parameters

    Returns StyleRule<V>

mount

  • mount(): void
  • Returns void

onAnimate

  • onAnimate(t: number): void
  • Parameters

    • t: number

    Returns void

onSetStyle

  • onSetStyle(propertyName: string, value: unknown, priority: undefined | string): void
  • Parameters

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

overflow

  • Returns undefined | Overflow | [undefined | Overflow, undefined | Overflow]

  • Parameters

    Returns StyleRule<V>

overscrollBehavior

padding

  • Returns null | Length | [null | Length, null | Length, null | Length, null | Length]

  • Parameters

    Returns StyleRule<V>

removeConstraint

  • Parameters

    Returns void

removeConstraintVariable

  • Parameters

    Returns void

requireUpdate

  • requireUpdate(updateFlags: number): void
  • Parameters

    • updateFlags: number

    Returns void

setConstraintVariable

  • Parameters

    Returns void

setSelector

  • setSelector(selector: string): void
  • Parameters

    • selector: string

    Returns void

setStyle

  • setStyle(propertyName: string, value: unknown, priority?: string): StyleRule<V>
  • Parameters

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

    Returns StyleRule<V>

setStyleAnimator

  • Parameters

    Returns void

trackDidStartAnimating

  • Parameters

    Returns void

trackDidStopAnimating

  • Parameters

    Returns void

trackWillStartAnimating

  • Parameters

    Returns void

trackWillStopAnimating

  • Parameters

    Returns void

unmount

  • unmount(): void
  • Returns void

updateAnimations

  • updateAnimations(t: number): void
  • Parameters

    • t: number

    Returns void

willSetStyle

  • willSetStyle(propertyName: string, value: unknown, priority: undefined | string): void
  • Parameters

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

Generated using TypeDoc