Anchor
Anchor link block. Creates a clickable icon and/ or text.
When changing the relationship (
rel
) property of the linked URL, make sure you understand the security implications. Read more about link types here.
Settings
Anchor JSON Schema Definition
type: object
properties:
events:
additionalProperties: false
properties:
onClick:
description: Called when Anchor is clicked.
type: array
type: object
properties:
additionalProperties: false
properties:
disabled:
default: false
description: Disable the anchor if true.
type: boolean
href:
description: Anchor element href property.
type: string
icon:
description: >-
Name of an Ant Design Icon or properties of an Icon block for anchor
icon.
type:
- string
- object
newTab:
default: false
description: Open link in a new tab when the anchor link is clicked.
type: boolean
rel:
default: noopener noreferrer
description: The relationship of the linked URL as space-separated link types.
type: string
strong:
default: false
description: Makes the text bold when true.
type: boolean
style:
description: Css style object to applied to anchor.
type: object
title:
description: Text to display in the anchor.
type: string
type: object