for applying templates via the api

Hierarchy

  • ITemplateManager

Index

Methods

applyTemplate

  • applies a template to the given cell

    throws

    {IInvalidParameterError}

    Parameters

    Returns Promise<void>

generateDataMap

  • generates a data map from the template and returns that data map

    Parameters

    Returns Promise<IDataMap>

readFromFile

  • readFromFile(file: File): Promise<TTemplate>
  • reads a template from a file and returns that template

    throws

    FileNotReadableError

    Parameters

    • file: File

    Returns Promise<TTemplate>