{"action":"created","issue":{"url":"https://api.github.com/repos/godban/sidescroll.js/issues/2","labels_url":"https://api.github.com/repos/godban/sidescroll.js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/godban/sidescroll.js/issues/2/comments","events_url":"https://api.github.com/repos/godban/sidescroll.js/issues/2/events","html_url":"https://github.com/godban/sidescroll.js/issues/2","id":95439193,"number":2,"title":"[Feature] Expand functionality","user":{"login":"godban","id":2461970,"avatar_url":"https://avatars.githubusercontent.com/u/2461970?v=3","gravatar_id":"","url":"https://api.github.com/users/godban","html_url":"https://github.com/godban","followers_url":"https://api.github.com/users/godban/followers","following_url":"https://api.github.com/users/godban/following{/other_user}","gists_url":"https://api.github.com/users/godban/gists{/gist_id}","starred_url":"https://api.github.com/users/godban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godban/subscriptions","organizations_url":"https://api.github.com/users/godban/orgs","repos_url":"https://api.github.com/users/godban/repos","events_url":"https://api.github.com/users/godban/events{/privacy}","received_events_url":"https://api.github.com/users/godban/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godban/sidescroll.js/labels/feature%20request","name":"feature request","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"godban","id":2461970,"avatar_url":"https://avatars.githubusercontent.com/u/2461970?v=3","gravatar_id":"","url":"https://api.github.com/users/godban","html_url":"https://github.com/godban","followers_url":"https://api.github.com/users/godban/followers","following_url":"https://api.github.com/users/godban/following{/other_user}","gists_url":"https://api.github.com/users/godban/gists{/gist_id}","starred_url":"https://api.github.com/users/godban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godban/subscriptions","organizations_url":"https://api.github.com/users/godban/orgs","repos_url":"https://api.github.com/users/godban/repos","events_url":"https://api.github.com/users/godban/events{/privacy}","received_events_url":"https://api.github.com/users/godban/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-07-16T13:58:03Z","updated_at":"2015-07-17T23:02:31Z","closed_at":null,"body":"According to feature request #1 implement next functionality:\r\n\r\n> stop : Stops the sticky while preserving its current position.\r\n> off :Turnes off the sticky completely.\r\n> on :Turns the sticky back on after above two commands.\r\n> reinit :Recalculates sticky size. Useful after altering DOM elements inside sticky.\r\n> destroy :Completely destroys sticky and reverts element to original state."},"comment":{"url":"https://api.github.com/repos/godban/sidescroll.js/issues/comments/122440366","html_url":"https://github.com/godban/sidescroll.js/issues/2#issuecomment-122440366","issue_url":"https://api.github.com/repos/godban/sidescroll.js/issues/2","id":122440366,"user":{"login":"godban","id":2461970,"avatar_url":"https://avatars.githubusercontent.com/u/2461970?v=3","gravatar_id":"","url":"https://api.github.com/users/godban","html_url":"https://github.com/godban","followers_url":"https://api.github.com/users/godban/followers","following_url":"https://api.github.com/users/godban/following{/other_user}","gists_url":"https://api.github.com/users/godban/gists{/gist_id}","starred_url":"https://api.github.com/users/godban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godban/subscriptions","organizations_url":"https://api.github.com/users/godban/orgs","repos_url":"https://api.github.com/users/godban/repos","events_url":"https://api.github.com/users/godban/events{/privacy}","received_events_url":"https://api.github.com/users/godban/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T23:02:31Z","updated_at":"2015-07-17T23:02:31Z","body":"@usb248 gotcha,\r\n\r\nwell this plugin works in little bit another way, it doesn't store position, but calculate it on init/scroll/resize. In this way you don't need to watch changes in sidebar to reinit plugin if sidebar changed, please try [live example](http://godban.com.ua/projects/sidescroll/demo/case4.html).\r\n\r\nSo actually all this commands can be simplified to **start** (on + reinit), **stop** and **clear** (off + destroy), what was done."}}