Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Margin"

Index

Classes

Interfaces

Functions

Functions

marginConvert

  • marginConvert(side: Side, value: number): IAll | ITop | ILeft | IRight | IBottom
  • Performs the conversion of a side into a margin style

    Parameters

    • side: Side

      the side to convert

    • value: number

      the size of the margin

    Returns IAll | ITop | ILeft | IRight | IBottom

    the corresponding margin ViewStyle