parent
72dce34f42
commit
79b6256789
|
@ -39,11 +39,11 @@ import {defineInjectable} from './defs';
|
|||
* @usageNotes
|
||||
* ### Basic Example
|
||||
*
|
||||
* #### Plain InjectionToken
|
||||
* ### Plain InjectionToken
|
||||
*
|
||||
* {@example core/di/ts/injector_spec.ts region='InjectionToken'}
|
||||
*
|
||||
* #### Tree-shakable InjectionToken
|
||||
* ### Tree-shakable InjectionToken
|
||||
*
|
||||
* {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
|
||||
*
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
*
|
||||
* See {@link Component#encapsulation encapsulation}.
|
||||
*
|
||||
* @usageNotes
|
||||
* ### Example
|
||||
* {@example core/ts/metadata/encapsulation.ts region='longform'}
|
||||
*/
|
||||
export enum ViewEncapsulation {
|
||||
/**
|
||||
|
@ -42,9 +45,6 @@ export enum ViewEncapsulation {
|
|||
* For the DOM this means using modern [Shadow
|
||||
* DOM](https://w3c.github.io/webcomponents/spec/shadow/) and
|
||||
* creating a ShadowRoot for Component's Host Element.
|
||||
*
|
||||
* ### Example
|
||||
* {@example core/ts/metadata/encapsulation.ts region='longform'}
|
||||
*/
|
||||
ShadowDom = 3
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue