8.7 released—WinterCG Compliance Part 1
Learn more

Summary

Variables

zeroLength

Type Aliases

AutocapitalizationInputType

AutocapitalizationInputType: "none" | "words" | "sentences" | "allcharacters"

AutofillType

AutofillType: "username" | "password" | "none" | string

BackgroundRepeatType

BackgroundRepeatType: "repeat" | "repeat-x" | "repeat-y" | "no-repeat"

DeviceOrientationType

DeviceOrientationType: "portrait" | "landscape" | "unknown"

DockType

DockType: "left" | "top" | "right" | "bottom"

HorizontalAlignmentType

HorizontalAlignmentType: "left" | "center" | "right" | "stretch"

ImageStretchType

ImageStretchType: "none" | "aspectFill" | "aspectFit" | "fill"

KeyboardInputType

KeyboardInputType: "datetime" | "phone" | "number" | "url" | "email" | "integer"

LengthDipUnit

LengthDipUnit: {
  unit: "dip"
}

LengthPercentUnit

LengthPercentUnit: {
  unit: "%"
}

LengthPxUnit

LengthPxUnit: {
  unit: "px"
}

MaxLinesType

MaxLinesType: number

OrientationType

OrientationType: "horizontal" | "vertical"

PercentLengthType

ReturnKeyButtonType

ReturnKeyButtonType: "done" | "next" | "go" | "search" | "send"

TextAlignmentType

TextAlignmentType: "initial" | "left" | "center" | "right" | "justify"

TextDecorationType

TextDecorationType: "none" | "underline" | "line-through" | "underline line-through"

TextTransformType

TextTransformType: "initial" | "none" | "capitalize" | "uppercase" | "lowercase"

UpdateTextTriggerType

UpdateTextTriggerType: "focusLost" | "textChanged"

VerticalAlignmentTextType

VerticalAlignmentTextType: VerticalAlignmentType | "text-top" | "text-bottom" | "sup" | "sub" | "baseline"

VerticalAlignmentType

VerticalAlignmentType: "top" | "middle" | "bottom" | "stretch"

VisibilityType

VisibilityType: "visible" | "hidden" | "collapse" | "collapsed"

WhiteSpaceType

WhiteSpaceType: "initial" | "normal" | "nowrap"

dip

dip: number
Denotes a length number that is in device independent pixel units.

percent

percent: number
Denotes a normalized percent number. 0% is represented as 0 50% is represented as 0.5 100% is represented as 1

px

px: number
Denotes a length number that is in physical device pixels.

Variables

Previous
Connectivity