{"action":"created","issue":{"url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/10","repository_url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages","labels_url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/10/comments","events_url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/10/events","html_url":"https://github.com/TimvdLippe/iron-lazy-pages/issues/10","id":152813920,"number":10,"title":"Pages are restamped over and over","user":{"login":"ronnyroeller","id":9339055,"avatar_url":"https://avatars.githubusercontent.com/u/9339055?v=3","gravatar_id":"","url":"https://api.github.com/users/ronnyroeller","html_url":"https://github.com/ronnyroeller","followers_url":"https://api.github.com/users/ronnyroeller/followers","following_url":"https://api.github.com/users/ronnyroeller/following{/other_user}","gists_url":"https://api.github.com/users/ronnyroeller/gists{/gist_id}","starred_url":"https://api.github.com/users/ronnyroeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronnyroeller/subscriptions","organizations_url":"https://api.github.com/users/ronnyroeller/orgs","repos_url":"https://api.github.com/users/ronnyroeller/repos","events_url":"https://api.github.com/users/ronnyroeller/events{/privacy}","received_events_url":"https://api.github.com/users/ronnyroeller/received_events","type":"User","site_admin":false},"labels":[{"id":347869995,"url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":347869996,"url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-05-03T16:13:42Z","updated_at":"2016-12-01T15:00:05Z","closed_at":"2016-05-04T14:00:00Z","body":"I've two pages:\n\n```\n<iron-lazy-pages attr-for-selected=\"name\" selected=\"[[_selected]]\">\n  <template is=\"iron-lazy-page\" name=\"list\" path=\"list.html\">List</template>\n  <template is=\"iron-lazy-page\" name=\"detail\" path=\"detail.html\">Detail</template>\n</iron-lazy-pages>\n```\n\nWhen the user toggles between the two pages, my pages are restamped each time. This is especially tricky if a page holds state (e.g. load data from the backend or stay on a specific tab within the page).\n\nIs there a way to activate the `dom-if` behavior (https://www.polymer-project.org/1.0/docs/devguide/templates.html#dom-if)?\n- Only hide the deactivated pages once they are stamped.\n- (Potentially) explicitly request restamping via the `restamp` property.\n"},"comment":{"url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/comments/264194968","html_url":"https://github.com/TimvdLippe/iron-lazy-pages/issues/10#issuecomment-264194968","issue_url":"https://api.github.com/repos/TimvdLippe/iron-lazy-pages/issues/10","id":264194968,"user":{"login":"ergo","id":33021,"avatar_url":"https://avatars.githubusercontent.com/u/33021?v=3","gravatar_id":"","url":"https://api.github.com/users/ergo","html_url":"https://github.com/ergo","followers_url":"https://api.github.com/users/ergo/followers","following_url":"https://api.github.com/users/ergo/following{/other_user}","gists_url":"https://api.github.com/users/ergo/gists{/gist_id}","starred_url":"https://api.github.com/users/ergo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ergo/subscriptions","organizations_url":"https://api.github.com/users/ergo/orgs","repos_url":"https://api.github.com/users/ergo/repos","events_url":"https://api.github.com/users/ergo/events{/privacy}","received_events_url":"https://api.github.com/users/ergo/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T15:00:05Z","updated_at":"2016-12-01T15:00:05Z","body":"Thanks, for some reason i missed this in the documentation, i thought it is default behavior :-)"}}
{"actor":{"display_login":"ergo"}}