docs(core): move headings to @usageNotes (#26039)

PR Close #26039
This commit is contained in:
Pete Bacon Darwin 2018-09-20 15:22:45 +01:00 committed by Kara Erickson
parent edbf3d2fe3
commit 33af76929f
2 changed files with 5 additions and 5 deletions

View File

@ -39,11 +39,11 @@ import {InjectableDef, defineInjectable} from './defs';
* @usageNotes * @usageNotes
* ### Basic Example * ### Basic Example
* *
* #### Plain InjectionToken * ### Plain InjectionToken
* *
* {@example core/di/ts/injector_spec.ts region='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'} * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
* *

View File

@ -11,6 +11,9 @@
* *
* See {@link Component#encapsulation encapsulation}. * See {@link Component#encapsulation encapsulation}.
* *
* @usageNotes
* ### Example
* {@example core/ts/metadata/encapsulation.ts region='longform'}
*/ */
export enum ViewEncapsulation { export enum ViewEncapsulation {
/** /**
@ -42,9 +45,6 @@ export enum ViewEncapsulation {
* For the DOM this means using modern [Shadow * For the DOM this means using modern [Shadow
* DOM](https://w3c.github.io/webcomponents/spec/shadow/) and * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and
* creating a ShadowRoot for Component's Host Element. * creating a ShadowRoot for Component's Host Element.
*
* ### Example
* {@example core/ts/metadata/encapsulation.ts region='longform'}
*/ */
ShadowDom = 3 ShadowDom = 3
} }