Class AttachmentsResolver

A resolver for cell attachments 'attachment:filename'.

Will resolve to a data: url.

Hierarchy

  • AttachmentsResolver

Implements

Constructors

Properties

Methods

Constructors

Properties

_model: any
_parent: any

Methods

  • Get the download url of a given absolute server path.

    Notes

    The returned URL may include a query parameter.

    Parameters

    • path: string

    Returns Promise<string>

  • Whether the URL should be handled by the resolver or not.

    Parameters

    • url: string

    Returns boolean

  • Resolve a relative url to a correct server path.

    Parameters

    • url: string

    Returns Promise<string>

Generated using TypeDoc