{"action":"created","issue":{"url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/17","repository_url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller","labels_url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/17/comments","events_url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/17/events","html_url":"https://github.com/VikLiegostaiev/react-page-scroller/issues/17","id":394696651,"node_id":"MDU6SXNzdWUzOTQ2OTY2NTE=","number":17,"title":"[Question] Can this be implemented using <a> tag instead of the pager from react-bootstrap?","user":{"login":"leizleho","id":15136543,"node_id":"MDQ6VXNlcjE1MTM2NTQz","avatar_url":"https://avatars0.githubusercontent.com/u/15136543?v=4","gravatar_id":"","url":"https://api.github.com/users/leizleho","html_url":"https://github.com/leizleho","followers_url":"https://api.github.com/users/leizleho/followers","following_url":"https://api.github.com/users/leizleho/following{/other_user}","gists_url":"https://api.github.com/users/leizleho/gists{/gist_id}","starred_url":"https://api.github.com/users/leizleho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizleho/subscriptions","organizations_url":"https://api.github.com/users/leizleho/orgs","repos_url":"https://api.github.com/users/leizleho/repos","events_url":"https://api.github.com/users/leizleho/events{/privacy}","received_events_url":"https://api.github.com/users/leizleho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T18:42:48Z","updated_at":"2018-12-30T17:38:24Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI have a link on page 1 using <a href=#>Page 4</a>.  How can I make it go to page 4?\r\nCurrently, I am using this on my navigation bar using the Pager from react-bootstrap, however I am having hard time understanding how I can use this with just the <a> tag.\r\n\r\n<ReactPageScroller ref={r => this.reactPageScroller = r} pageOnChange={this.onPageScroll}>\r\n\t<Page1/>\r\n\t<Page2/>\r\n\t<Page3/>\r\n\t<Page4/>\r\n\t<Page5/>\r\n\t<Footer/>\r\n</ReactPageScroller>\r\n\r\nThank you,\r\nLeizle\r\n"},"comment":{"url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/comments/450575597","html_url":"https://github.com/VikLiegostaiev/react-page-scroller/issues/17#issuecomment-450575597","issue_url":"https://api.github.com/repos/VikLiegostaiev/react-page-scroller/issues/17","id":450575597,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU3NTU5Nw==","user":{"login":"VikLiegostaiev","id":21306005,"node_id":"MDQ6VXNlcjIxMzA2MDA1","avatar_url":"https://avatars3.githubusercontent.com/u/21306005?v=4","gravatar_id":"","url":"https://api.github.com/users/VikLiegostaiev","html_url":"https://github.com/VikLiegostaiev","followers_url":"https://api.github.com/users/VikLiegostaiev/followers","following_url":"https://api.github.com/users/VikLiegostaiev/following{/other_user}","gists_url":"https://api.github.com/users/VikLiegostaiev/gists{/gist_id}","starred_url":"https://api.github.com/users/VikLiegostaiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VikLiegostaiev/subscriptions","organizations_url":"https://api.github.com/users/VikLiegostaiev/orgs","repos_url":"https://api.github.com/users/VikLiegostaiev/repos","events_url":"https://api.github.com/users/VikLiegostaiev/events{/privacy}","received_events_url":"https://api.github.com/users/VikLiegostaiev/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T17:38:24Z","updated_at":"2018-12-30T17:38:24Z","author_association":"OWNER","body":"Hi @leizleho ,\r\nYou can go to page 4 from page 1 with the help of goToPage method, you can use it through ref.\r\nYou can find here an example of using goToPage: https://github.com/VikLiegostaiev/react-page-scroller/blob/master/demo/src/FullPage.js"}}
{"actor":{"display_login":"VikLiegostaiev"}}