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 tag observer #245

Merged
merged 2 commits into from
May 18, 2022
Merged

add tag observer #245

merged 2 commits into from
May 18, 2022

Conversation

keithamus
Copy link
Member

This adds the tag-observer, which is an abstraction over the observer functionality in bind, but that can be reused for multiple abilities which would like to query the DOM for some kind of attribute that links back to a controller (e.g. targets, actions).

This lays more groundwork for 2.0. The plan in 2.0 is to have @target use this same functionality, so that we can observe when target/targets change in a page.

@keithamus keithamus marked this pull request as ready for review May 18, 2022 09:03
@keithamus keithamus requested a review from a team as a code owner May 18, 2022 09:03
@keithamus keithamus enabled auto-merge May 18, 2022 09:34
@keithamus keithamus merged commit 9f1fff8 into main May 18, 2022
@keithamus keithamus deleted the add-tag-observer branch May 18, 2022 09:37
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