Function styleEm

  • Converts the given number of pixel into Em values and format it into a string.

    Parameters

    • valueInPx: number

      The value in pixel to convert.

    Returns string

    the string representation of the equivalent in Em of the given pixel amount.

Generated using TypeDoc