{"action":"created","issue":{"url":"https://api.github.com/repos/01org/appframework/issues/199","labels_url":"https://api.github.com/repos/01org/appframework/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/01org/appframework/issues/199/comments","events_url":"https://api.github.com/repos/01org/appframework/issues/199/events","html_url":"https://github.com/01org/appframework/issues/199","id":13058478,"number":199,"title":"How to know which panel is has loaded/unloaded when using data-load/data-unload","user":{"login":"jahflasher","id":3724978,"avatar_url":"https://avatars.githubusercontent.com/u/3724978?v=3","gravatar_id":"","url":"https://api.github.com/users/jahflasher","html_url":"https://github.com/jahflasher","followers_url":"https://api.github.com/users/jahflasher/followers","following_url":"https://api.github.com/users/jahflasher/following{/other_user}","gists_url":"https://api.github.com/users/jahflasher/gists{/gist_id}","starred_url":"https://api.github.com/users/jahflasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahflasher/subscriptions","organizations_url":"https://api.github.com/users/jahflasher/orgs","repos_url":"https://api.github.com/users/jahflasher/repos","events_url":"https://api.github.com/users/jahflasher/events{/privacy}","received_events_url":"https://api.github.com/users/jahflasher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-04-11T09:06:08Z","updated_at":"2015-03-27T12:48:30Z","closed_at":"2013-04-11T11:45:32Z","body":"I am new  at any serious JavaScript and want to call a function every time a panel is loaded/unloaded. Since all the panels call the same JavaScript without passing parameters how can identify each panel? Typically all panels will look like this with the only difference going to be the id,title and defer:\r\n\r\n           <div class=\"panel\" id=\"search\" data-load=\"loadmoretidy\" data-unload=\"unloadmoretidy\" data-defer=\"html_fragments/search.html\" title=\"Search\"></div>\r\n\r\nThanks in advance.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/01org/appframework/issues/comments/86930841","html_url":"https://github.com/01org/appframework/issues/199#issuecomment-86930841","issue_url":"https://api.github.com/repos/01org/appframework/issues/199","id":86930841,"user":{"login":"jokabuyasina","id":2309056,"avatar_url":"https://avatars.githubusercontent.com/u/2309056?v=3","gravatar_id":"","url":"https://api.github.com/users/jokabuyasina","html_url":"https://github.com/jokabuyasina","followers_url":"https://api.github.com/users/jokabuyasina/followers","following_url":"https://api.github.com/users/jokabuyasina/following{/other_user}","gists_url":"https://api.github.com/users/jokabuyasina/gists{/gist_id}","starred_url":"https://api.github.com/users/jokabuyasina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokabuyasina/subscriptions","organizations_url":"https://api.github.com/users/jokabuyasina/orgs","repos_url":"https://api.github.com/users/jokabuyasina/repos","events_url":"https://api.github.com/users/jokabuyasina/events{/privacy}","received_events_url":"https://api.github.com/users/jokabuyasina/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T12:48:30Z","updated_at":"2015-03-27T12:48:30Z","body":"hello imaffett \r\ni wanted to know is it possible to pass a function with parameters in data-load ???"}}