Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISafeSides

Determines the spacing that can be used for margin or padding to avoid any notches or curves on a screen. The results are always for the default orientation of the screen. The Safe class can be used to retrieve orientation aware values

Hierarchy

  • ISafeSides

Index

Properties

Properties

bottom

bottom: number

Used to avoid any screen snippets or virtual buttons at the bottom of the screen.

left

left: number

Can be applied to avoid any screen snippets on the left of the screen. This is often zero

right

right: number

Can be applied to avoid any screen snippets on the right of the screen. THis is often zero

top

top: number

A spacing value that can be applied to avoid status bars and notches in a screen.