angular-cn/packages
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
..
animations build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
bazel feat(compiler-cli): make enableIvy ngtsc/true equivalent (#28616) 2019-02-19 12:28:44 -08:00
benchpress feat: optionally save complete performance log in chrome benchpress tests (#27551) 2019-02-05 23:35:32 -05:00
common docs: incorporate review feedback (#26827) 2019-02-14 19:33:14 +00:00
compiler fix(ivy): support static ViewChild queries (#28811) 2019-02-19 15:29:00 -08:00
compiler-cli fix(ivy): support static ViewChild queries (#28811) 2019-02-19 15:29:00 -08:00
core fix(ivy): support static ViewChild queries (#28811) 2019-02-19 15:29:00 -08:00
docs
elements build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
examples build(bazel): specify tsconfig-test dependency (#28696) 2019-02-16 20:57:34 -08:00
forms build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
http build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
language-service build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
platform-browser docs(platform-browser): fix a grammatical error in the BrowserModule documentation (#28808) 2019-02-19 12:54:52 -08:00
platform-browser-dynamic build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
platform-server build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
platform-webworker build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
platform-webworker-dynamic build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
private/testing build: run playground e2e examples with bazel (#28490) 2019-02-04 16:51:11 -05:00
router build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
service-worker build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
upgrade build: remove unused rollup.config.js files (#28646) 2019-02-14 19:28:08 +00:00
BUILD.bazel build(bazel): specify tsconfig-test dependency (#28696) 2019-02-16 20:57:34 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
system.d.ts
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT