angular-docs-cn/aio/content/examples/template-syntax
Alex Rickabaugh 84dd2679a9 fix(core): require 'static' flag on queries in typings (#30639)
This commit makes the static flag on @ViewChild and @ContentChild required.

BREAKING CHANGE:

In Angular version 8, it's required that all @ViewChild and @ContentChild
queries have a 'static' flag specifying whether the query is 'static' or
'dynamic'. The compiler previously sorted queries automatically, but in
8.0 developers are required to explicitly specify which behavior is wanted.
This is a temporary requirement as part of a migration; see
https://angular.io/guide/static-query-migration for more details.

@ViewChildren and @ContentChildren queries are always dynamic, and so are
unaffected.

PR Close #30639
2019-05-24 16:55:00 -04:00
..
e2e/src docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
src fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
example-config.json docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
stackblitz.json build(aio): migrate plunker to stackblitz (#20165) 2018-01-23 21:30:27 -08:00