Skip to content

Disabling View Encapsulation on PrimeNG #17

Answered by cagataycivici
kyjus25 asked this question in PrimeNG
Discussion options

You must be logged in to vote

I'm a bit confused because default value is encapsulation: ViewEncapsulation.None, for example.

https://github.com/primefaces/primeng/blob/master/src/app/components/checkbox/checkbox.ts

we assume that Angular Material is a representation of the "best practice" way to handle UI libraries.

I'm not sure, it is strictly based on Material Design and I heard customization is not easy, I remember seeing !important in their CSS as well, things may have improved lately as I believe they changed their implementation.

PassThrough is definitely coming to PrimeNG which will remove the necessity to use ng:deep but can you give me a concrete example so we can go over it? When did you need :host ::ng-de…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kyjus25
Comment options

@davidhmays
Comment options

Answer selected by kyjus25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants