{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6611","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6611/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6611/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6611/events","html_url":"https://github.com/mozilla/pdf.js/issues/6611","id":115871894,"number":6611,"title":"need event trigger if page is not visible on screen","user":{"login":"chitgoks","id":3955470,"avatar_url":"https://avatars.githubusercontent.com/u/3955470?v=3","gravatar_id":"","url":"https://api.github.com/users/chitgoks","html_url":"https://github.com/chitgoks","followers_url":"https://api.github.com/users/chitgoks/followers","following_url":"https://api.github.com/users/chitgoks/following{/other_user}","gists_url":"https://api.github.com/users/chitgoks/gists{/gist_id}","starred_url":"https://api.github.com/users/chitgoks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chitgoks/subscriptions","organizations_url":"https://api.github.com/users/chitgoks/orgs","repos_url":"https://api.github.com/users/chitgoks/repos","events_url":"https://api.github.com/users/chitgoks/events{/privacy}","received_events_url":"https://api.github.com/users/chitgoks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/2-performance","name":"2-performance","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T12:59:54Z","updated_at":"2015-11-10T20:26:17Z","closed_at":"2015-11-10T20:26:17Z","body":"loading a huge pdf can become a crawl when so mamy pages have been viewed.\r\n\r\nwould be nice to have an event trigger that will remove the page in the dom if it is not visible.\r\n\r\nonce it gets visible again, page rendered gets called"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/155555571","html_url":"https://github.com/mozilla/pdf.js/issues/6611#issuecomment-155555571","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6611","id":155555571,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T20:26:17Z","updated_at":"2015-11-10T20:26:17Z","body":"[PDFPageViewBuffer](https://github.com/mozilla/pdf.js/blob/master/web/pdf_viewer.js#L57) is doing just that. Based on the information provided, closing as invalid."}}