ViewEncapsulationlink
成员列表
成员 | 值 | 说明 |
---|---|---|
Emulated | Emulate This is the default option. | |
Native | ||
None | Don't provide any template or style encapsulation. | |
ShadowDom | Use Shadow DOM to encapsulate styles. For the DOM this means using modern Shadow DOM and creating a ShadowRoot for Component's Host Element. Example |