Lurch web app user interface

Class

Preview

A "preview" can be used to show a dependency in the editor without allowing the user to edit it or any of its contents. The preview has no meaning (in terms of LCs that will be used for validation) and is thus exactly what it says on the tin: just a preview.

Constructor

new Preview()

Source

Methods

imitate(dependency)

Fill this shell with the content of the specified dependency, recursively flattened so that all inner dependencies have been expanded out to be visible as well.

Parameters

  • dependency Dependency

    the Dependency atom to show in the preview

Source