{"action":"created","issue":{"url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/1983","repository_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue","labels_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/1983/labels{/name}","comments_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/1983/comments","events_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/1983/events","html_url":"https://github.com/bootstrap-vue/bootstrap-vue/issues/1983","id":347725060,"node_id":"MDU6SXNzdWUzNDc3MjUwNjA=","number":1983,"title":"Feature request: custom classes for popover component","user":{"login":"haggins","id":485835,"node_id":"MDQ6VXNlcjQ4NTgzNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/485835?v=4","gravatar_id":"","url":"https://api.github.com/users/haggins","html_url":"https://github.com/haggins","followers_url":"https://api.github.com/users/haggins/followers","following_url":"https://api.github.com/users/haggins/following{/other_user}","gists_url":"https://api.github.com/users/haggins/gists{/gist_id}","starred_url":"https://api.github.com/users/haggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haggins/subscriptions","organizations_url":"https://api.github.com/users/haggins/orgs","repos_url":"https://api.github.com/users/haggins/repos","events_url":"https://api.github.com/users/haggins/events{/privacy}","received_events_url":"https://api.github.com/users/haggins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-05T19:40:15Z","updated_at":"2018-09-04T13:34:59Z","closed_at":null,"author_association":"NONE","body":"At the moment it's not possible to give the popover container a custom class. If you do a\r\n`<b-popover class=\"info\">...</b-popover>` right now, your class just won't be added.\r\n\r\nUsecases:\r\n\r\n- Popovers with different contexts and therefore different styles (e.g. 'info', 'action', 'important' etc)\r\n- Popovers with dynamic class binding to states (e.g. class 'moving' to give the popover some opacity while its target is beeing dragged)\r\n"},"comment":{"url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/comments/418369066","html_url":"https://github.com/bootstrap-vue/bootstrap-vue/issues/1983#issuecomment-418369066","issue_url":"https://api.github.com/repos/bootstrap-vue/bootstrap-vue/issues/1983","id":418369066,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODM2OTA2Ng==","user":{"login":"tmorehouse","id":2781561,"node_id":"MDQ6VXNlcjI3ODE1NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2781561?v=4","gravatar_id":"","url":"https://api.github.com/users/tmorehouse","html_url":"https://github.com/tmorehouse","followers_url":"https://api.github.com/users/tmorehouse/followers","following_url":"https://api.github.com/users/tmorehouse/following{/other_user}","gists_url":"https://api.github.com/users/tmorehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/tmorehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmorehouse/subscriptions","organizations_url":"https://api.github.com/users/tmorehouse/orgs","repos_url":"https://api.github.com/users/tmorehouse/repos","events_url":"https://api.github.com/users/tmorehouse/events{/privacy}","received_events_url":"https://api.github.com/users/tmorehouse/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T13:34:59Z","updated_at":"2018-09-04T13:34:59Z","author_association":"MEMBER","body":"In the case of a popover trigger element (i.e. a button or link), you can currently play whatever custom class on the trigger element you like.\r\n\r\n```html\r\n<b-btn class=\"foo-bar\" id=\"mybutton\">Button Content</b-btn>\r\n```\r\n\r\nThe OP was asking for this class to be \"hard-coded\" for them."}}
{"actor":{"display_login":"tmorehouse"}}