Skip to content

Adding link attribute to custom components #789

Answered by priyanka9634
binilvjacob asked this question in Q&A
Discussion options

You must be logged in to vote

NOTE:
It is an example how to add link in custom component

eg:

-- custom-component: Some title
link: /url/

This is example code

-- component custom-component:
caption title:
string link:

-- ftd.row:
link: $custom-component.link

-- ftd.text: $custom-component.title

-- end: ftd.row

-- end: custom-component

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by binilvjacob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants