Can anyone explain how to use the html Tag ancher option in the button utility to link a button to a part of the page?
That property only specifies which HTML tag the button will use, an <a>
or <button>
tag (last time I checked it was just using a <div>
regardless). If you try to use the Link property above you’re only available to link to a URL, a page within your site, or a resource within your site. There’s currently no concept of named (ids) anchors within a page in Elements.
It’s a great feature request as it’s something I often use, especially when I’m sharing something on a page as it allows me to jump users right to it by appending #{anchor-on-page} to the URL.
2 Likes