PreviewPlugin ⇒ Weavy.plugins.preview
Displaying content and attachments in the full browser window.
Kind: global pluginInstance 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 ofPreviewPlugin
Param | Description |
---|---|
url : string
| The url to the preview page to open |
weavy.plugins.preview.closeAll(noHistory)
Closes all open preview panels.
Kind: instance method ofPreviewPlugin
Param | Description |
---|---|
noHistory : boolean
| Set to true if you want no navigation history generated when closing |
Static members
.defaults : Object
Default plugin options
Kind: static property ofPreviewPlugin
Example
Weavy.plugins.preview.defaults = {
previewFrameName: "preview",
contentFrameName: "content"
};