Skip to content

Anchor html events#164

Merged
Mortaro merged 9 commits intounstable-nextfrom
anchor-html-events
Feb 20, 2022
Merged

Anchor html events#164
Mortaro merged 9 commits intounstable-nextfrom
anchor-html-events

Conversation

@Mortaro
Copy link
Copy Markdown
Member

@Mortaro Mortaro commented Feb 15, 2022

No description provided.

@Mortaro Mortaro changed the base branch from master to next February 15, 2022 03:26

export function anchorableElement(element) {
const links = element.querySelectorAll('a[href^="/"]:not([target])')
if (element.dataset.nullstack) return
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be per link or will cause problems with rerender

@Mortaro Mortaro changed the base branch from next to unstable-next February 20, 2022 02:21
@Mortaro Mortaro marked this pull request as ready for review February 20, 2022 02:21
@Mortaro Mortaro merged commit af157d3 into unstable-next Feb 20, 2022
@Mortaro Mortaro deleted the anchor-html-events branch February 20, 2022 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants