angular-cn/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade

114 lines
1.3 KiB
Plaintext

p.location-badge.
exported from <a href='../annotations'>angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.32/modules/angular2/src/core/annotations_impl/di.ts#L44-L69">angular2/src/core/annotations_impl/di.ts (line 44)</a>
:markdown
Specifies that a <a href='../core/QueryList-class.html'><code>QueryList</code></a> should be injected.
See <a href='../core/QueryList-class.html'><code>QueryList</code></a> for usage and example.
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation CONST
pre.prettyprint
code.
@CONST()
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(_selector: Type | string, {descendants = false}?: {descendants?: boolean})
:markdown
.l-sub-section
h3 descendants
:markdown
.l-sub-section
h3 isViewQuery
:markdown
.l-sub-section
h3 selector
:markdown
.l-sub-section
h3 isVarBindingQuery
:markdown
.l-sub-section
h3 varBindings
:markdown
.l-sub-section
h3 toString
pre.prettyprint
code.
toString()
:markdown