The UtilsController exposes a set of useful utilities that can be used to make some repeated tasks a bit easier Methods inside this controller can be called by window.SDK.utils.{method-name}

Hierarchy

  • UtilsController

Constructors

Methods

  • This method can round a value to a certain precision, default is 2

    Returns

    the rounded value as a number

    Parameters

    • val: number

      the value that needs to be rounded

    • Optional precision: number

      the precision of the rounding operation

    Returns EditorResponse<number>

Generated using TypeDoc