PreviewPlugin ⇒ Weavy.plugins.preview

Displaying content and attachments in the full browser window.

Kind: global plugin

Instance members

weavy.plugins.preview.open(url)

Opens a url in a preview panel. If the url is an attachment url it will open in the preview panel.

Kind: instance method of PreviewPlugin
ParamDescription
url : string

The url to the preview page to open


weavy.plugins.preview.closeAll(noHistory)

Closes all open preview panels.

Kind: instance method of PreviewPlugin
ParamDescription
noHistory : boolean

Set to true if you want no navigation history generated when closing


Static members

.defaults : Object

Default plugin options

Kind: static property of PreviewPlugin
Example
Weavy.plugins.preview.defaults = {
  previewFrameName: "preview",
  contentFrameName: "content"
};

Inner members

~contentPanel ⇒ weavy.nodes.contentPanel

The panel for previewing Content

Kind: inner property of PreviewPlugin
See: nodes

~previewPanel ⇒ weavy.nodes.previewPanel

The panel for previewing Attachments

Kind: inner property of PreviewPlugin
See: nodes