{"action":"created","issue":{"url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/830","repository_url":"https://api.github.com/repos/FrDH/jQuery.mmenu","labels_url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/830/comments","events_url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/830/events","html_url":"https://github.com/FrDH/jQuery.mmenu/issues/830","id":279099867,"node_id":"MDU6SXNzdWUyNzkwOTk4Njc=","number":830,"title":"Not documented hooks for open/close menu","user":{"login":"Storky","id":8766242,"node_id":"MDQ6VXNlcjg3NjYyNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/8766242?v=4","gravatar_id":"","url":"https://api.github.com/users/Storky","html_url":"https://github.com/Storky","followers_url":"https://api.github.com/users/Storky/followers","following_url":"https://api.github.com/users/Storky/following{/other_user}","gists_url":"https://api.github.com/users/Storky/gists{/gist_id}","starred_url":"https://api.github.com/users/Storky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storky/subscriptions","organizations_url":"https://api.github.com/users/Storky/orgs","repos_url":"https://api.github.com/users/Storky/repos","events_url":"https://api.github.com/users/Storky/events{/privacy}","received_events_url":"https://api.github.com/users/Storky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-04T18:29:40Z","updated_at":"2018-09-20T09:34:08Z","closed_at":"2017-12-05T20:19:25Z","author_association":"NONE","body":"Hi,\r\nhttp://mmenu.frebsite.nl/documentation/core/api.html\r\nhooks listed there is working only for inner panels (2nd,3rd lvl ULs)\r\nTo hook on open/close mmenu itself I used this:\r\n\r\n    api.bind('open:start', function () {\r\n        console.log('open:start');\r\n    });\r\n    api.bind('open:finish', function () {\r\n        console.log('open:finish');\r\n    });\r\n\r\n    api.bind('close:start', function () {\r\n        console.log('open:start');\r\n    });\r\n    api.bind('close:finish', function () {\r\n        console.log('open:finish');\r\n    });\r\n\r\n\r\nI installed via bower, maybe there is an issue. Than tried to connect the \"jquery.mmenu.all.js\" over bower's  from the \"download button\" and it doesn't helped."},"comment":{"url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/comments/423112901","html_url":"https://github.com/FrDH/jQuery.mmenu/issues/830#issuecomment-423112901","issue_url":"https://api.github.com/repos/FrDH/jQuery.mmenu/issues/830","id":423112901,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzExMjkwMQ==","user":{"login":"datune","id":2123730,"node_id":"MDQ6VXNlcjIxMjM3MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/2123730?v=4","gravatar_id":"","url":"https://api.github.com/users/datune","html_url":"https://github.com/datune","followers_url":"https://api.github.com/users/datune/followers","following_url":"https://api.github.com/users/datune/following{/other_user}","gists_url":"https://api.github.com/users/datune/gists{/gist_id}","starred_url":"https://api.github.com/users/datune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datune/subscriptions","organizations_url":"https://api.github.com/users/datune/orgs","repos_url":"https://api.github.com/users/datune/repos","events_url":"https://api.github.com/users/datune/events{/privacy}","received_events_url":"https://api.github.com/users/datune/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T09:34:08Z","updated_at":"2018-09-20T09:34:08Z","author_association":"NONE","body":"@FrDH It's indeed a bit tricky and probably needs an overall terminology improvement. To me, everything seemed to be a panel. But it seems there is a difference between the root panel (off-canvas) and all other inside panels. Perhaps this is where the problem originates? \r\n\r\nThe tricky bit, is that, when reading only the panel docs, api.close(); still produces the expected result, so naturally, I have no reason to believe I am reading the wrong piece of documentation. Once you try to bind to events, is where the hair pulling begins ;-)\r\n\r\nI am not sure how to best word all of this. Somehow the difference between the root panel and inside panels needs to be made clear, and that they have different API's (which is a bit confusing to begin with).\r\n\r\nPS: Don't get me wrong, I don't mean to belittle any of your work, quite the opposite really, I LOVE your work! I\r\n\r\n"}}
{"actor":{"display_login":"datune"}}