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

Selection.delete() breaks the method chaining #39

Open
meszaros-lajos-gyorgy opened this issue Nov 24, 2024 · 0 comments
Open

Selection.delete() breaks the method chaining #39

meszaros-lajos-gyorgy opened this issue Nov 24, 2024 · 0 comments

Comments

@meszaros-lajos-gyorgy
Copy link
Collaborator

Selection.delete() returns the deleted items, which is fine, but when the deleted polygons are not needed, then there should be another method that keeps the method chaining going by returning this.

For example there could be a .deleteTo() method, which accepts an array into which it will place the deleted polygons if needed.

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

No branches or pull requests

1 participant