Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Safe"

Index

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

SafeProvider

SafeProvider: function

The function interface to return the safe spacing value for a side. The provider should be orientation aware and return the correct spacing for the side requested correctly mapped to the current orientation

Type declaration

    • (side: Side): number
    • Parameters

      Returns number

Variables

Const detected

detected: ISides = safeSides()

These are the start-up detected safe sides for the current runtime

Functions

provider

safeProvider

  • safeProvider(side: Side): number
  • The default provider for the safe spacing values

    Parameters

    Returns number