angular-cn/aio/content/examples
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
..
ajs-quick-reference docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
animations docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
architecture docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
attribute-directives ci(docs-infra): wait for conditions to reduce flakiness on CI (#29757) 2019-04-25 10:58:12 -07:00
bootstrapping docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
built-in-template-functions docs: edit $any() section and add example in Template Syntax (#28157) 2019-03-19 13:19:17 -04:00
component-interaction fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
component-styles
dependency-injection docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
dependency-injection-in-action docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
displaying-data
docs-style-guide docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
dynamic-component-loader fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
dynamic-form
elements docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
event-binding docs: fix the payload in event-binding sample code (#30429) 2019-05-15 14:12:02 -07:00
feature-modules docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
form-validation
forms
forms-overview
getting-started docs: cleanup code snippets for getting started example app (#29837) 2019-04-22 16:31:04 -07:00
getting-started-v0 docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00
hierarchical-dependency-injection
http docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
i18n build(docs-infra): support running cli docs examples concurrently (#29103) 2019-03-12 10:46:03 -07:00
interpolation docs: edit $any() section and add example in Template Syntax (#28157) 2019-03-19 13:19:17 -04:00
lazy-loading-ngmodules docs: use dynamic import syntax in examples using lazy loading (#30563) 2019-05-21 09:09:35 -07:00
lifecycle-hooks fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
ngcontainer docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
ngmodule-faq/src/app docs: remove coremodule references (#28434) 2019-03-29 10:29:51 -07:00
ngmodules docs: use dynamic import syntax in examples using lazy loading (#30563) 2019-05-21 09:09:35 -07:00
observables
observables-in-angular
pipes docs: correct types in transform method to match specification. (#29812) 2019-05-15 14:24:20 -07:00
practical-observable-usage
providers docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
reactive-forms
router docs: use dynamic import syntax in examples using lazy loading (#30563) 2019-05-21 09:09:35 -07:00
rx-library docs: fix typo in rxjs guide example (#29446) 2019-03-26 12:49:46 -07:00
schematics-for-libraries docs: add schematics guide (#28343) 2019-03-19 15:47:14 -04:00
security
service-worker-getting-started docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
set-document-title
setup
structural-directives docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
styleguide docs: migrate examples from @angular/http to @angular/common/http (#28296) 2019-03-11 10:52:17 -07:00
template-syntax fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
testing fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
toh-pt0
toh-pt1 docs: add ending slash to input in TOH pt1 and pt2 examples (#29176) 2019-03-08 09:33:57 -08:00
toh-pt2 docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
toh-pt3 docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
toh-pt4 docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
toh-pt5 docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
toh-pt6 docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
universal docs: remove gender prefixes from examples (#29972) 2019-05-20 16:42:59 -07:00
upgrade-lazy-load-ajs docs: add section to upgrade guide on lazy loading AngularJS (#30541) 2019-05-21 13:06:01 -07:00
upgrade-module docs: migrate examples from @angular/http to @angular/common/http (#28296) 2019-03-11 10:52:17 -07:00
upgrade-phonecat-1-typescript
upgrade-phonecat-2-hybrid build: fix aio test (#29210) 2019-03-14 11:38:12 -04:00
upgrade-phonecat-3-final fixup! docs: update Universal guide (#28296) 2019-03-11 10:52:18 -07:00
user-input
visual-studio-2015
.gitignore docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
tsconfig.json
tslint.json refactor: remove tslint no-use-before-declare rule (#30288) 2019-05-07 10:25:36 -07:00