PrintButtonController
Purpose
Controller that adds print functionality to a link/button, to open a print dialogue when clicked.
Action | Purpose |
---|---|
print | Trigger the Browser's print dialogue |
Targets
Target | Purpose | Default |
---|---|---|
- | - | - |
Classes
Class | Purpose | Default |
---|---|---|
unsupported | Applied to the controller element when `window | unsupported |
Values
Value | Type | Description | Default |
---|---|---|---|
- | - | - | - |
Events
Event | When | Dispatched on | event.detail |
---|---|---|---|
- | - | - | - |
Side Effects
Adds event listeners for click
on the controller root element.