pagePreview

Methods

getExtractWidth(thumbnail) → {string}static #

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

renderPagePreview(model, thumbnail, withCSSClipPath, linkTitle) → {HTMLElement}static #

Parameters:

Name Type Description
model
thumbnail ext.popups.Thumbnail | null
withCSSClipPath boolean
linkTitle string
Source:

Returns:

Type
HTMLElement