{"action":"created","issue":{"url":"https://api.github.com/repos/fissionman924/slidemenu/issues/5","labels_url":"https://api.github.com/repos/fissionman924/slidemenu/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/fissionman924/slidemenu/issues/5/comments","events_url":"https://api.github.com/repos/fissionman924/slidemenu/issues/5/events","html_url":"https://github.com/fissionman924/slidemenu/issues/5","id":81458947,"number":5,"title":"Need help using methods and events","user":{"login":"zephyr11","id":12627633,"avatar_url":"https://avatars.githubusercontent.com/u/12627633?v=3","gravatar_id":"","url":"https://api.github.com/users/zephyr11","html_url":"https://github.com/zephyr11","followers_url":"https://api.github.com/users/zephyr11/followers","following_url":"https://api.github.com/users/zephyr11/following{/other_user}","gists_url":"https://api.github.com/users/zephyr11/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyr11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyr11/subscriptions","organizations_url":"https://api.github.com/users/zephyr11/orgs","repos_url":"https://api.github.com/users/zephyr11/repos","events_url":"https://api.github.com/users/zephyr11/events{/privacy}","received_events_url":"https://api.github.com/users/zephyr11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T13:59:05Z","updated_at":"2015-05-27T19:26:52Z","closed_at":null,"body":"Great plugin--I can get basic menu to work out of the box, but I need examples for using methods/events as they are not firing. Not sure what I'm doing wrong. I'm trying to add or remove tabs (menu items) and fire events beforeOpen etc. \r\n\r\nThanks much for your help -- I think your plugin will be a great addition to my app.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fissionman924/slidemenu/issues/comments/106042526","html_url":"https://github.com/fissionman924/slidemenu/issues/5#issuecomment-106042526","issue_url":"https://api.github.com/repos/fissionman924/slidemenu/issues/5","id":106042526,"user":{"login":"zephyr11","id":12627633,"avatar_url":"https://avatars.githubusercontent.com/u/12627633?v=3","gravatar_id":"","url":"https://api.github.com/users/zephyr11","html_url":"https://github.com/zephyr11","followers_url":"https://api.github.com/users/zephyr11/followers","following_url":"https://api.github.com/users/zephyr11/following{/other_user}","gists_url":"https://api.github.com/users/zephyr11/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyr11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyr11/subscriptions","organizations_url":"https://api.github.com/users/zephyr11/orgs","repos_url":"https://api.github.com/users/zephyr11/repos","events_url":"https://api.github.com/users/zephyr11/events{/privacy}","received_events_url":"https://api.github.com/users/zephyr11/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T19:26:52Z","updated_at":"2015-05-27T19:26:52Z","body":"I put this in a script at the bottom of trigger.html example to test (a simple alert box fired fine to test jquery). I'd also like to see an example of how to addTab with the object & tab/content properties. I don't have much experience with working with methods/events etc. Thanks so much.\r\n$(\"#test\").on(\"click\", function(){   \t\r\n\t\t$(\".slide-menu\").slidemenu(\"hideTab\",\"Panel5\");      \r\n});"}}