{"action":"created","issue":{"url":"https://api.github.com/repos/pleerock/ng2-popover/issues/8","repository_url":"https://api.github.com/repos/pleerock/ng2-popover","labels_url":"https://api.github.com/repos/pleerock/ng2-popover/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/pleerock/ng2-popover/issues/8/comments","events_url":"https://api.github.com/repos/pleerock/ng2-popover/issues/8/events","html_url":"https://github.com/pleerock/ng2-popover/issues/8","id":166085699,"number":8,"title":"How can I close the popover after clicking on a link from inside?","user":{"login":"Avien","id":4569044,"avatar_url":"https://avatars.githubusercontent.com/u/4569044?v=3","gravatar_id":"","url":"https://api.github.com/users/Avien","html_url":"https://github.com/Avien","followers_url":"https://api.github.com/users/Avien/followers","following_url":"https://api.github.com/users/Avien/following{/other_user}","gists_url":"https://api.github.com/users/Avien/gists{/gist_id}","starred_url":"https://api.github.com/users/Avien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avien/subscriptions","organizations_url":"https://api.github.com/users/Avien/orgs","repos_url":"https://api.github.com/users/Avien/repos","events_url":"https://api.github.com/users/Avien/events{/privacy}","received_events_url":"https://api.github.com/users/Avien/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-18T12:48:29Z","updated_at":"2016-08-03T09:20:52Z","closed_at":"2016-08-03T09:20:32Z","body":"Thanks\r\n"},"comment":{"url":"https://api.github.com/repos/pleerock/ng2-popover/issues/comments/237187260","html_url":"https://github.com/pleerock/ng2-popover/issues/8#issuecomment-237187260","issue_url":"https://api.github.com/repos/pleerock/ng2-popover/issues/8","id":237187260,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T09:20:52Z","updated_at":"2016-08-03T09:20:52Z","body":"I believe you can also use popover api this way:\r\n\r\n```html\r\n    <div>\r\n        <popover-content #myPopover \r\n            title=\"this header can be omitted\"\r\n            placement=\"right\"\r\n            [closeOnClickOutside]=\"true\">\r\n            <b>Very</b> <span style=\"color: #C21F39\">Dynamic</span> <span style=\"color: #00b3ee\">Reusable</span> \r\n            <b><i><span style=\"color: #ffc520\">Popover With</span></i></b> <small>Html support</small>.\r\n            Click outside of this popover and it will be dismissed automatically.\r\n            <span (click)=\"myPopover.hide()\">Or click here to close it</span>.\r\n        </popover-content>\r\n        \r\n        <button [popover]=\"myPopover\">click this button to see a popover</button>\r\n    </div>\r\n```\r\n\r\ncheckout latest version and try it"}}
{"actor":{"display_login":"pleerock"}}