link
Index
fn withAsDropdown(value=true)
fn withIcon(value)
fn withIncludeVars(value=true)
fn withKeepTime(value=true)
fn withTags(value)
fn withTagsMixin(value)
fn withTargetBlank(value=true)
fn withTitle(value)
fn withTooltip(value)
fn withType(value)
fn withUrl(value)
Fields
fn withAsDropdown
withAsDropdown(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards
fn withIcon
withIcon(value)
PARAMETERS:
- value (
string
)
Icon name to be displayed with the link
fn withIncludeVars
withIncludeVars(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
If true, includes current template variables values in the link as query params
fn withKeepTime
withKeepTime(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
If true, includes current time range in the link as query params
fn withTags
withTags(value)
PARAMETERS:
- value (
array
)
List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards
fn withTagsMixin
withTagsMixin(value)
PARAMETERS:
- value (
array
)
List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards
fn withTargetBlank
withTargetBlank(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
If true, the link will be opened in a new tab
fn withTitle
withTitle(value)
PARAMETERS:
- value (
string
)
Title to display with the link
fn withTooltip
withTooltip(value)
PARAMETERS:
- value (
string
)
Tooltip to display when the user hovers their mouse over it
fn withType
withType(value)
PARAMETERS:
- value (
string
)- valid values:
"link"
,"dashboards"
- valid values:
Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)
fn withUrl
withUrl(value)
PARAMETERS:
- value (
string
)
Link URL. Only required/valid if the type is link