export interface QueryFactory
export interface QueryFactory
exported from angular2/core defined in angular2/src/core/metadata.ts (line 349)
QueryMetadata
factory for creating annotations, decorators or DSL.
Example as TypeScript Decorator
Example as ES5 DSL
Example as ES5 annotation
var MyComponent = function(queryList) {
...
};
MyComponent.annotations = [
new ng.Component({...})
]
MyComponent.parameters = [
[new ng.Query(SomeType)]
]