Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FixedPositionStyle

The style object that should be applied to the fixed element so it will be fixed to the container element. This will be undefined if the container element doesn't exist within the DOM.

Note: The fixed element styles will not contain styles for z-index or background-color so you'll need to add that manually.

remarks

@since 4.0.0

Hierarchy

Index

Properties

Optional bottom

bottom?: number

Optional left

left?: number

Optional minWidth

minWidth?: number

position

position: "fixed" | "absolute"

This will be "fixed" unless CalculateFixedPositionOptions.disableVHBounds is set to true.

Optional right

right?: number

Optional top

top?: number

Optional transformOrigin

transformOrigin?: string

This will be undefined unless CalculateFixedPositionOptions.transformOrigin is set to true

Optional width

width?: number

Generated using TypeDoc