PrintMixin

Properties

2
isPrintMixin: Boolean= truereadonly
Identifies an object as an instance of PrintMixin class, or subclass thereof.
isPrintMixin: Boolean= truereadonlystatic
Identifies an object as an instance of PrintMixin class, or subclass thereof.

Functions

3

Other

This method is called when IFrame is loaded with all the HTML/CSS and is about to be printed. Use it to take control over the page contents.

ParameterTypeDescription
iframeHTMLIFrameElement

Print

Starts the print process. Accepts a config object which overrides any default configs. NOTE Component should not be interacted with when print is in progress

ParameterTypeDescription
configPrintConfig
Returns: Promise -

Promise which resolves when printing is done. Optionally it might return an object with an error key in it.

Shows the print dialog

Returns: Promise