{"action":"opened","issue":{"url":"https://api.github.com/repos/yuche/vue-strap/issues/37","labels_url":"https://api.github.com/repos/yuche/vue-strap/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/yuche/vue-strap/issues/37/comments","events_url":"https://api.github.com/repos/yuche/vue-strap/issues/37/events","html_url":"https://github.com/yuche/vue-strap/issues/37","id":114981413,"number":37,"title":"Modal close callback","user":{"login":"happyDemon","id":38573,"avatar_url":"https://avatars.githubusercontent.com/u/38573?v=3","gravatar_id":"","url":"https://api.github.com/users/happyDemon","html_url":"https://github.com/happyDemon","followers_url":"https://api.github.com/users/happyDemon/followers","following_url":"https://api.github.com/users/happyDemon/following{/other_user}","gists_url":"https://api.github.com/users/happyDemon/gists{/gist_id}","starred_url":"https://api.github.com/users/happyDemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyDemon/subscriptions","organizations_url":"https://api.github.com/users/happyDemon/orgs","repos_url":"https://api.github.com/users/happyDemon/repos","events_url":"https://api.github.com/users/happyDemon/events{/privacy}","received_events_url":"https://api.github.com/users/happyDemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T06:34:19Z","updated_at":"2015-11-04T06:34:19Z","closed_at":null,"body":"I was browsing through the code and it seems the close callback is hardcoded(by just setting this.show to false).\r\n\r\nIt would be nice to actually define a close callback, where we for example could do some model cleanup when closing the modal (through the close button or by clicking the background).\r\n\r\nI might be missing something though, I'm still new to VueJS"}}