p.location-badge.
exported from angular2/metadata
defined in angular2/src/core/render/api.ts (line 286)
:markdown
Annotations provide the additional information that Angular requires in order to run your
application. This module
contains ComponentMetadata
, DirectiveMetadata
, and ViewMetadata
annotations, as well as
the Host
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.