The global resources interface allows to retrieve global settings for the product. This includes the available options for:

  • canvas options
  • stock options
  • output type options
  • dynamic size settings

Hierarchy

  • GlobalResources

Methods

  • Retrieve all linked canvas options.

    Parameters

    • callback: ((canvases) => void)

      The callback function that will be called once the canvas options are retrieved.

        • (canvases): void
        • Parameters

          Returns void

    Returns void

  • Retrieve the available canvas options for dynamic sizing. If dynamic sizing is not enabled, this will return an empty object.

    Parameters

    • callback: ((settings) => void)

      The callback function that will be called once the canvas options are retrieved.

    Returns void

  • Retrieve all linked output type options.

    Parameters

    • callback: ((types) => void)

      The callback function that will be called once the output type options are retrieved.

        • (types): void
        • Parameters

          Returns void

    Returns void

  • Retrieve all linked stock options.

    Parameters

    • callback: ((items) => void)

      The callback function that will be called once the stock options are retrieved.

        • (items): void
        • Parameters

          Returns void

    Returns void

Generated using TypeDoc