53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
|
|
p.location-badge.
|
|
exported from <a href='../metadata'>angular2/metadata</a>
|
|
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.36/modules/angular2/src/core/render/api.ts#L286-L305">angular2/src/core/render/api.ts (line 286)</a>
|
|
|
|
:markdown
|
|
Annotations provide the additional information that Angular requires in order to run your
|
|
application. This module
|
|
contains <a href='ComponentMetadata-class.html'><code>ComponentMetadata</code></a>, <a href='DirectiveMetadata-class.html'><code>DirectiveMetadata</code></a>, and <a href='ViewMetadata-class.html'><code>ViewMetadata</code></a>
|
|
annotations, as well as
|
|
the <a href='../di/Host-var.html'><code>Host</code></a> annotation that is used by Angular to resolve dependencies.
|
|
.l-main-section
|
|
h2 Members
|
|
.l-sub-section
|
|
h3 Emulated
|
|
|
|
|
|
:markdown
|
|
Emulate scoping of styles by preprocessing the style rules
|
|
and adding additional attributes to elements. This is the default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 Native
|
|
|
|
|
|
:markdown
|
|
Uses the native mechanism of the renderer. For the DOM this means creating a ShadowRoot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.l-sub-section
|
|
h3 None
|
|
|
|
|
|
:markdown
|
|
Don't scope the template nor the styles.
|
|
|
|
|
|
|
|
|
|
|
|
|