Methods
(inner) iFrameDialog() → {HTMLElement}
On button click it opens a dialog with an iframe that points to the custom view page.
Returns:
A dialog ui element with iframe.
- Type:
- HTMLElement
(inner) reportLink(params) → {HTMLElement}
This is a module to show a report-link
Parameters:
Properties| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params | Object | aligns with entry or layer report object. Properties
|
| Name | Type | Attributes | Description |
|---|---|---|---|
params.data_id | String | link address, overrides report definition. | |
params.url | String | link address, overrides report definition. | |
params.icon | String | Material Symbol name, optional. | |
params.link_class | String | <optional> | CSS classes to apply on the final element, optional. |
report.template | String | Template required to use a report or a custom view. | |
report.label | String | <optional> | Display name for report, optional. |
report.dialog | Boolean | <optional> | Report or custom page to display in a dialog in the main app window. |
- Source
Returns:
anchor tag or button when set to display in a dialog.
- Type:
- HTMLElement