novx
    Preparing search index...

    Class FormatterRegistry

    The FormatterRegistry is the registry for known formatters and the main api for formatting requests.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    registry: { [type: string]: ValueFormatter<any, any> } = {}

    Methods

    • format a given value.

      Parameters

      • type: string

        the formatter name

      • value: any

        the value

      • options: any

        formatter options

      Returns string