-
Notifications
You must be signed in to change notification settings - Fork 2
Link
Lydia Gray edited this page Apr 26, 2022
·
8 revisions
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
Text | string | ✔️ | ❌ | text used for the link |
Url | string | ✔️ | ❌ | the url for the link |
OpenInTab | bool | ❌ | true | if the link should open in a new tab when clicked, this defaults to true but can be disabled |
ClassName | string | ❌ | ❌ | Classes to apply if any to the link |
DisplayRightChevron | bool | ❌ | false | If the right chevron should be displayed correct classnames must be proviced if enabled, check govuk design-system for classes |
{
"Type": "link",
"Properties": {
"Text": "Go to the homepage",
"Url": "https://www.stockport.gov.uk/",
"OpenInTab": true,
"ClassName": "govuk-button"
}
}
{
"Type": "link",
"Properties": {
"Text": "Start now",
"Url": "https://www.stockport.gov.uk/",
"OpenInTab": true,
"ClassName": "govuk-button govuk-button--start",
"DisplayRightChevron": true
}
}
- Availability
- Actions
- Behaviours
- Breadcrumbs
-
Conditions
- String Conditions
- Date Conditions
- Integer Conditions
- File Upload Conditions
- Custom validation
-
Elements
- AddAnother
- Address
- Button
- Booking
- Checkbox
- Date Input
- Date Picker
- Declaration
- Document Download
- Document Upload
- File Upload
- H1-H6
- HR
- Image
- Inline Alert
- Link
- Map
- Multiple File Upload
- OrderedList
- Organisation
- P
- Radio
- Select
- Street
- Summary
- Success page
- Textarea
- Textbox
- Time input
- Unordered List
- Uploaded files summary
- Warning
- EnabledFor
- Feedback form
- File uploads
- Form Schema
- Header
- Inbound Values
- Integrating with PowerAutomate/0365
- Lookup
- Page
- Payment & Payment calculations
- Preview data structure
- Render conditions
- Reusable elements
- Structure tests
- Success page
- Tag parsers
- Target mapping
- Validators