Skip to content

Restrict linking to a part of an element/its subelement. #2726

Answered by kumilingus
frnora asked this question in Q&A
Discussion options

You must be logged in to vote

You can make the header the actual magnet and prevent anything from connecting the element as a whole.

this.attr({
   root: { magnet: false },
   header: { magnet: true } // or `passive`
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@frnora
Comment options

Answer selected by frnora
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