Methods
(static) getExtractWidth(thumbnail) → {string}
Calculates width of extract based on the associated thumbnail
Parameters:
Name | Type | Description |
---|---|---|
thumbnail |
ext.popups.Thumbnail | null | model |
Returns:
representing the css width attribute to be used for the extract
- Type
- string
(static) renderPagePreview(model, thumbnail, withCSSClipPath, linkTitle) → {Element}
Parameters:
Name | Type | Description |
---|---|---|
model |
ext.popups.PagePreviewModel | |
thumbnail |
ext.popups.Thumbnail | null | |
withCSSClipPath |
boolean | |
linkTitle |
string |
Returns:
- Type
- Element