Skip to content

Conversation

@javier-godoy
Copy link
Member

feat: add method for enqueuing a listener before others

By default, custom key listeners execute in the same order they were registered. In some cases, it's desirable to add a listener that executes before others, so that it can prevent the event from propagating, so that the event is not handled by other listeners that have been added earlier..

Also refactor: move onData callback to method and ci: upgrade Vaadin 23 version to 23.3.6 and chore: update license headers

By default, custom key listeners execute in the same order they were registered.
In some cases, it's desirable to add a listener that executes before others, so that it can prevent the event from propagating, so that the event is not handled by other listeners that have been added earlier.
@javier-godoy javier-godoy requested a review from paodb February 28, 2023 16:52
Copy link
Member

@paodb paodb left a comment

Choose a reason for hiding this comment

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

LGTM

@paodb paodb merged commit c0f4d53 into master Feb 28, 2023
@paodb paodb deleted the feat-event-before branch February 28, 2023 17: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