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

Add on beforeElAttrsUpdated callback #241

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gucki
Copy link

@gucki gucki commented Jul 28, 2023

This is very useful when needing to preserve some elements as they are but still process all their children.

Example use case: keep a bootstrap dropdown opened after refreshing the dom by not updating elements with class "dropdown-toogle" or "dropdown-menu" because an update would remove the "show" class on these elements.

@gucki gucki changed the title Add on before el attrs updated Add on beforeElAttrsUpdated callback Jul 28, 2023
@gucki gucki force-pushed the add_on_before_el_attrs_updated branch from d82edd3 to 6d07ab4 Compare July 28, 2023 22:54
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.

1 participant