Wagtail client-side components
Preparing search index...
components/Draftail/decorators/Link
getLinkAttributes
Function getLinkAttributes
getLinkAttributes
(
data
:
any
)
:
{
icon
:
Element
;
label
:
any
;
url
:
any
}
Determines how to display the link based on its type: page, mail, anchor or external.
Parameters
data
:
any
Returns
{
icon
:
Element
;
label
:
any
;
url
:
any
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Wagtail client-side components
Loading...
Determines how to display the link based on its type: page, mail, anchor or external.