PrintMixin
Properties
2
Properties
2Identifies an object as an instance of PrintMixin class, or subclass thereof.
Identifies an object as an instance of PrintMixin class, or subclass thereof.
Functions
3
Functions
3Other
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.
| Parameter | Type | Description |
|---|---|---|
iframe | HTMLIFrameElement |
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
| Parameter | Type | Description |
|---|---|---|
config | PrintConfig |
Returns: Promise -
Promise which resolves when printing is done. Optionally it might return an object with an
error key in it.