angular-cn/packages/core/test/acceptance
Kara Erickson a4638d5a81 fix(ivy): support static ViewChild queries (#28811)
This commit adds support for the `static: true` flag in
`ViewChild` queries. Prior to this commit, all `ViewChild`
queries were resolved after change detection ran. This is
a problem for backwards compatibility because View Engine
also supported "static" queries which would resolve before
change detection.

Now if users add a `static: true` option, the query will be
resolved in creation mode (before change detection runs).
For example:

```ts
@ViewChild(TemplateRef, {static: true}) template !: TemplateRef;
```

This feature will come in handy for components that need
to create components dynamically.

PR Close #28811
2019-02-19 15:29:00 -08:00
..
BUILD.bazel test(ivy): move some local ref tests to use TestBed infrastructure. (#28534) 2019-02-05 23:31:08 -05:00
change_detection_spec.ts fix(ivy): should mark OnPush ancestor of dynamically created views as dirty (#28687) 2019-02-13 12:12:45 -08:00
content_spec.ts fix(ivy): extended next pointer lookup while traversing tNode tree (#28533) 2019-02-07 12:37:13 -08:00
di_spec.ts fix(ivy): set proper implementation for module injector (#28667) 2019-02-13 12:05:13 -08:00
exports_spec.ts feat(ivy): allow non-unique #localRefs to be defined in a template (#28627) 2019-02-11 14:51:31 -08:00
inherit_definition_feature_spec.ts fix(ivy): ngOnChanges should be inherited from super class (#28563) 2019-02-11 16:22:31 -08:00
integration_spec.ts fix(ivy): ensure host bindings and host styling works on a root component (#28664) 2019-02-14 19:23:25 +00:00
lifecycle_spec.ts fix(ivy): OnChanges should support updating one Input among many (#28693) 2019-02-13 19:15:44 -08:00
pipe_spec.ts fix(ivy): compile pipe in context of ternary operator (#28635) 2019-02-11 14:52:13 -08:00
query_spec.ts fix(ivy): support static ViewChild queries (#28811) 2019-02-19 15:29:00 -08:00