{"action":"created","issue":{"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/260","repository_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer","labels_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/260/comments","events_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/260/events","html_url":"https://github.com/VadimDez/ng2-pdf-viewer/issues/260","id":291596479,"number":260,"title":"Public PDFFindController","user":{"login":"viktorhajer","id":13874324,"avatar_url":"https://avatars3.githubusercontent.com/u/13874324?v=4","gravatar_id":"","url":"https://api.github.com/users/viktorhajer","html_url":"https://github.com/viktorhajer","followers_url":"https://api.github.com/users/viktorhajer/followers","following_url":"https://api.github.com/users/viktorhajer/following{/other_user}","gists_url":"https://api.github.com/users/viktorhajer/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorhajer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorhajer/subscriptions","organizations_url":"https://api.github.com/users/viktorhajer/orgs","repos_url":"https://api.github.com/users/viktorhajer/repos","events_url":"https://api.github.com/users/viktorhajer/events{/privacy}","received_events_url":"https://api.github.com/users/viktorhajer/received_events","type":"User","site_admin":false},"labels":[{"id":396352050,"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/milestones/52","html_url":"https://github.com/VadimDez/ng2-pdf-viewer/milestone/52","labels_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/milestones/52/labels","id":3106010,"number":52,"title":"4.1.1","description":"","creator":{"login":"VadimDez","id":3748453,"avatar_url":"https://avatars2.githubusercontent.com/u/3748453?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimDez","html_url":"https://github.com/VadimDez","followers_url":"https://api.github.com/users/VadimDez/followers","following_url":"https://api.github.com/users/VadimDez/following{/other_user}","gists_url":"https://api.github.com/users/VadimDez/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimDez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimDez/subscriptions","organizations_url":"https://api.github.com/users/VadimDez/orgs","repos_url":"https://api.github.com/users/VadimDez/repos","events_url":"https://api.github.com/users/VadimDez/events{/privacy}","received_events_url":"https://api.github.com/users/VadimDez/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-02-11T18:09:54Z","updated_at":"2018-02-13T22:49:49Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-01-25T14:52:18Z","updated_at":"2018-02-13T22:49:49Z","closed_at":"2018-02-13T22:49:49Z","author_association":"NONE","body":"##### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ ] Regression (a behavior that used to work and stopped working in a new release)\r\n- [ ] Bug report -> please search issues before submitting\r\n- [ x] Feature request\r\n- [ ] Documentation issue or request\r\n```\r\n\r\nIt would be great to have public PDFFindController member in the component in order to use the find feature of the PDFjs. I cloned the project and the following code was working fine if the `show-all `and `render-text `were true: \r\n\r\n`public pdfFindController: any;`\r\n\r\nin the setupViewer: \r\n`    this.pdfFindController = new (<any>PDFJS).PDFFindController({pdfViewer: this.pdfViewer});\r\n    this.pdfViewer.setFindController(this.pdfFindController);`\r\n\r\nIn my test project: \r\n` this.pdfComponent.pdfFindController.executeCommand('find', {\r\n        caseSensitive: false,\r\n        findPrevious: undefined,\r\n        highlightAll: true,\r\n        phraseSearch: true,\r\n        query: text\r\n      });`\r\n\r\nThanks in advance! "},"comment":{"url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/comments/365432277","html_url":"https://github.com/VadimDez/ng2-pdf-viewer/issues/260#issuecomment-365432277","issue_url":"https://api.github.com/repos/VadimDez/ng2-pdf-viewer/issues/260","id":365432277,"user":{"login":"VadimDez","id":3748453,"avatar_url":"https://avatars2.githubusercontent.com/u/3748453?v=4","gravatar_id":"","url":"https://api.github.com/users/VadimDez","html_url":"https://github.com/VadimDez","followers_url":"https://api.github.com/users/VadimDez/followers","following_url":"https://api.github.com/users/VadimDez/following{/other_user}","gists_url":"https://api.github.com/users/VadimDez/gists{/gist_id}","starred_url":"https://api.github.com/users/VadimDez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VadimDez/subscriptions","organizations_url":"https://api.github.com/users/VadimDez/orgs","repos_url":"https://api.github.com/users/VadimDez/repos","events_url":"https://api.github.com/users/VadimDez/events{/privacy}","received_events_url":"https://api.github.com/users/VadimDez/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T22:49:49Z","updated_at":"2018-02-13T22:49:49Z","author_association":"OWNER","body":"Made `PDFFindController` public in `4.1.1`\r\nhttps://github.com/VadimDez/ng2-pdf-viewer/blob/master/CHANGELOG.md#411"}}
{"actor":{"display_login":"VadimDez"}}