Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "safe/sides"

Index

Functions

Functions

safeSides

  • safeSides(): ISides
  • Determines the safe spacing to avoid notches or curves in the screen for the current device. Returns the spacing values for the default orientation of the device. The Safe provides orientation aware values.

    see

    ISafeSides

    see

    Safe

    Returns ISides

    the safe spacing to use for margin or padding styling values on components