preview ⇒ WeavyWidget.plugins.preview

Displaying photoswipe and pdfs in the full browser window.

Kind: global mixin

Instance members

widget.togglePreview()

Toggle preview window mode.

Kind: instance method of preview
Emits: resize

Static members

preview.defaults : Object

Default plugin options

Kind: static property of preview
Properties
NameTypeDefaultDescription
classNamestring "weavy-preview"

The class name used on togglePreview

Example
WeavyWidget.plugins.preview.defaults = {
    className: "weavy-preview"
};