Module: pagePreview

Methods

(static) getExtractWidth(thumbnail) → {string}

Calculates width of extract based on the associated thumbnail

Parameters:
Name Type Description
thumbnail ext.popups.Thumbnail | null

model

Source:
Returns:

representing the css width attribute to be used for the extract

Type
string

(static) renderPagePreview(model, thumbnail) → {JQuery}

Parameters:
Name Type Description
model ext.popups.PreviewModel
thumbnail ext.popups.Thumbnail | null
Source:
Returns:
Type
JQuery