I am trying to get the anchor() function to open a link in a new tab.
I can see there are inputs for attributes and additional code, but I could find the documentation on how to use them.
I want to open the link in a new tab; target="_blank" I know like most things it will be easy once I know how but I have not been able to figure it out.
Open in new tab with anchor()
4 years ago
4 years ago
#1
4 years ago
#2
Hello,
From the docs.
https://trongate.io/docs_m/information/other-helpful-features
Hope this helps,
Dan
From the docs.
https://trongate.io/docs_m/information/other-helpful-features
Hope this helps,
Dan
4 years ago
#3
Dan is on the right path, but the above code will cause an error.
The anchor method is expecting an array for the 3rd parameter, like so:
The anchor method is expecting an array for the 3rd parameter, like so:
4 years ago
#4
Thanks, I knew it would be simple.