angular - how to hide ngb-carousel indicators and prev-next control -


i can't hide ngb-carousel indicators , prev-next control trough css, targeting css class wouldn't work. there option hide it?

in order affect css of ng-bootstrap components, have disable viewencapsulation.

import @angular/core:

import { viewencapsulation } '@angular/core' 

then disable component in @component declaration:

@component({   encapsulation: viewencapsulation.none,   selector: 'your-template-name',   styleurls: ['your-template-name.component.scss'],   template: `  ... ` }) 

then can target bootstrap classes etc. you'd expect in css file.

you want disable on per-component basis, , when need to.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -