{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/docs/issues/1159","repository_url":"https://api.github.com/repos/Polymer/docs","labels_url":"https://api.github.com/repos/Polymer/docs/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/docs/issues/1159/comments","events_url":"https://api.github.com/repos/Polymer/docs/issues/1159/events","html_url":"https://github.com/Polymer/docs/issues/1159","id":86262207,"number":1159,"title":"Nuances involving async operations & the use of Polymer.dom.flush() seemingly benefits having a code snippet provided (DOM API Docs) ","user":{"login":"arthurevans","id":1149422,"avatar_url":"https://avatars.githubusercontent.com/u/1149422?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurevans","html_url":"https://github.com/arthurevans","followers_url":"https://api.github.com/users/arthurevans/followers","following_url":"https://api.github.com/users/arthurevans/following{/other_user}","gists_url":"https://api.github.com/users/arthurevans/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurevans/subscriptions","organizations_url":"https://api.github.com/users/arthurevans/orgs","repos_url":"https://api.github.com/users/arthurevans/repos","events_url":"https://api.github.com/users/arthurevans/events{/privacy}","received_events_url":"https://api.github.com/users/arthurevans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/docs/labels/docs","name":"docs","color":"699780"},{"url":"https://api.github.com/repos/Polymer/docs/labels/enhancement","name":"enhancement","color":"fbca04"},{"url":"https://api.github.com/repos/Polymer/docs/labels/P2","name":"P2","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"arthurevans","id":1149422,"avatar_url":"https://avatars.githubusercontent.com/u/1149422?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurevans","html_url":"https://github.com/arthurevans","followers_url":"https://api.github.com/users/arthurevans/followers","following_url":"https://api.github.com/users/arthurevans/following{/other_user}","gists_url":"https://api.github.com/users/arthurevans/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurevans/subscriptions","organizations_url":"https://api.github.com/users/arthurevans/orgs","repos_url":"https://api.github.com/users/arthurevans/repos","events_url":"https://api.github.com/users/arthurevans/events{/privacy}","received_events_url":"https://api.github.com/users/arthurevans/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-08T17:19:25Z","updated_at":"2016-02-16T21:49:04Z","closed_at":null,"body":"_From @lozandier on June 7, 2015 20:15_\n\nGiven the unconventional (non-standard) way that insert, append, & remove operations are transacted lazily, it seems in the best interest of developers reading up on Polymer to have a code snippet demonstrating the correct usage of `Polymer.dom.flush()` w/ such operations.\r\n\r\nThis is particularly true in the contexts of having to use `Polymer.dom.flush()` & `window.getComputedStyle`, assuming the latter was in fact the method referred by the `getComputedStyle` reference in the [documentation](https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#dom-api).\n\n_Copied from original issue: Polymer/polymer#1775_"},"comment":{"url":"https://api.github.com/repos/Polymer/docs/issues/comments/184888995","html_url":"https://github.com/Polymer/docs/issues/1159#issuecomment-184888995","issue_url":"https://api.github.com/repos/Polymer/docs/issues/1159","id":184888995,"user":{"login":"MeTaNoV","id":11166016,"avatar_url":"https://avatars.githubusercontent.com/u/11166016?v=3","gravatar_id":"","url":"https://api.github.com/users/MeTaNoV","html_url":"https://github.com/MeTaNoV","followers_url":"https://api.github.com/users/MeTaNoV/followers","following_url":"https://api.github.com/users/MeTaNoV/following{/other_user}","gists_url":"https://api.github.com/users/MeTaNoV/gists{/gist_id}","starred_url":"https://api.github.com/users/MeTaNoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeTaNoV/subscriptions","organizations_url":"https://api.github.com/users/MeTaNoV/orgs","repos_url":"https://api.github.com/users/MeTaNoV/repos","events_url":"https://api.github.com/users/MeTaNoV/events{/privacy}","received_events_url":"https://api.github.com/users/MeTaNoV/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T21:49:04Z","updated_at":"2016-02-16T21:49:04Z","body":"we just discuss this with @bicknellr ! so +1 !!! :)"}}