Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dia.HighlighterView): add static getAll() method #2704

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

kumilingus
Copy link
Contributor

Description

A new static method added to dia.HighlighterView as there was no way to get all the highlighters of a certain type and ID from the paper.

Documentation

https://docs.jointjs.com/api/dia/HighlighterView/

static getAll(paper, id?)

Get an array of all highlighters on the paper, which are instances of this class. If an id is provided, get only the highlighters with given id on the paper.

@kumilingus kumilingus merged commit 7746050 into clientIO:master Jul 11, 2024
3 checks passed
@kumilingus kumilingus deleted the highlighter-view-get-all branch July 11, 2024 09:27
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.

2 participants