-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow or add option to bind user-defined class to Popover host #1441
Labels
Comments
mattlewis92
pushed a commit
to mattlewis92/ng-bootstrap
that referenced
this issue
Jun 2, 2017
5 tasks
mattlewis92
pushed a commit
to mattlewis92/ng-bootstrap
that referenced
this issue
Jun 3, 2017
I'm also interested in this feature. I need to modify popover's width (CSS "max-width" parameter). |
+1 |
swseverance
added a commit
to swseverance/ng-bootstrap
that referenced
this issue
Apr 12, 2018
* provide class applied to `NgbPopoverWindow` via input to `NgbPopover` or via `NgbPopoverConfig` * add example usage to demo app Closes ng-bootstrap#1441
5 tasks
Hello, it could be very great to have this kind of options for all components with a window. Modal, typeahead, popover... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description:
Currently there is not way to add a user-defined class to the popover host.
Allowing to add user-defined class make life easier to customize (styling) the popover content as needed otherwise it will be patch work to to change the popover appearance.
We can style the popover content but not the popover itself. Its not a good idea to alter the popover globally so allowing to bind the custom class make life easy.
Link to minimally-working plunker that reproduces the issue:
Plunker
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: V-4
ng-bootstrap: 1.0.0-alpha.22
Bootstrap: 4.0.0-alpha.6
The text was updated successfully, but these errors were encountered: