{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/32","labels_url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/32/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/32/events","html_url":"https://github.com/PolymerElements/iron-media-query/pull/32","id":118163263,"number":32,"title":"Add `iron-media-change` event when mq changes","user":{"login":"ebidel","id":238208,"avatar_url":"https://avatars.githubusercontent.com/u/238208?v=3","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/iron-media-query/labels/cla:%20yes","name":"cla: yes","color":"00ff00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-21T02:30:19Z","updated_at":"2015-11-24T00:58:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PolymerElements/iron-media-query/pulls/32","html_url":"https://github.com/PolymerElements/iron-media-query/pull/32","diff_url":"https://github.com/PolymerElements/iron-media-query/pull/32.diff","patch_url":"https://github.com/PolymerElements/iron-media-query/pull/32.patch"},"body":"I'm porting an app and am missing this from core-mq: https://github.com/Polymer/core-media-query/blob/master/core-media-query.html#L83\r\n\r\nR: @rictic @notwaldorf "},"comment":{"url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/comments/159117619","html_url":"https://github.com/PolymerElements/iron-media-query/pull/32#issuecomment-159117619","issue_url":"https://api.github.com/repos/PolymerElements/iron-media-query/issues/32","id":159117619,"user":{"login":"bicknellr","id":406614,"avatar_url":"https://avatars.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T00:58:43Z","updated_at":"2015-11-24T00:58:43Z","body":"It seems more idiomatic (to me, at least) to use the built-in `x-changed` events. There's documentation for these events in [the page about data binding](https://www.polymer-project.org/1.0/docs/devguide/data-binding.html), but [the events page](https://www.polymer-project.org/1.0/docs/devguide/events.html) doesn't mention them at all, even though it's a pretty reasonable place to expect to hear about this and especially given that it explains other globally available events (i.e. gestures). A demo for an `x-changed` event (in addition to binding to property `x`) is probably overkill given you could then argue that a similar demo should exist for every notifying property in every element."}}