TODO

Example

TODO

Hierarchy

  • DocumentThumbnail

Constructors

Methods

  • Finalizes the builder created by thumbnail(). Without calling this method, you willget no usable results and merely recieve a hash if you try to display it on a page.

    Returns string

  • Determines if you want the result of the thumbnail builder to return html of the documentor not. Passing true to this, (or simply not passing an argument at all) will cause it to give you said html after build() is called. If you pass false or simply do not set this value at all, it will return a relative link to that documentafter build() is called.

    Parameters

    • Optional condition: boolean

      if missing, condition is assumed true

    Returns DocumentThumbnail

    Example

    javascript// these two are equivalent
    documentField.thumbnail().html(true);
    documentField.thumbnail().html();
    // further, these two are equivalent as well
    documentField.thumbnail().html(false);
    documentField.thumbnail();
  • Determines if a link to the original document should be included after build() is called. This obeys the same true/false behavior as the sibling method: html()

    Parameters

    • Optional condition: boolean

    Returns DocumentThumbnail

Generated using TypeDoc