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

This is a module to show a report-link

Parameters:
NameTypeDescription
paramsObject

aligns with entry or layer report object.

Properties
NameTypeAttributesDescription
reportObject<optional>

report definition.

paramsObject<optional>

Any additional parameter to be spread into the report object.

Properties
NameTypeAttributesDescription
params.data_idString

link address, overrides report definition.

params.urlString

link address, overrides report definition.

params.iconString

Material Symbol name, optional.

params.link_classString<optional>

CSS classes to apply on the final element, optional.

report.templateString

Template required to use a report or a custom view.

report.labelString<optional>

Display name for report, optional.

report.dialogBoolean<optional>

Report or custom page to display in a dialog in the main app window.

Returns:

anchor tag or button when set to display in a dialog.

Type: 
HTMLElement