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 72dce34f42
commit 79b6256789
2 changed files with 5 additions and 5 deletions

View File

@ -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'}
*

View File

@ -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
}