Skip to content

Conversation

@angusm
Copy link
Member

@angusm angusm commented Apr 27, 2022

Hi Scott,

A change that adds some extra typing but mainly adds support for passing the result of a window.matchMedia() call to DomWatcher to listen for events.

@angusm angusm requested a review from uxder April 27, 2022 02:01
Copy link
Member

@uxder uxder left a comment

Choose a reason for hiding this comment

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

Ah I didn't think about this. We can just listen to the change event with this. Nice.

I think this is nice but can you add some quick examples to the doc.

Copy link
Member

@uxder uxder left a comment

Choose a reason for hiding this comment

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

LGTM. ty!

I think you'll need to squash merge this with the release please style commit messages to auto release it.

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.

4 participants