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 docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
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: ignore component for app compilation for displaying data example (#28592) 2019-02-11 17:09:24 +00:00
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 docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
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 docs(aio): add async validation chapter (#25189) 2018-08-10 09:14:25 -07:00
forms docs: removed unused pull-left classes from hero form component (#26178) 2018-11-09 10:23:17 -08:00
forms-overview docs: remove unused properties from forms overview example (#25663) 2018-09-25 18:48:15 -07:00
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 docs: edit and organize di guide (#21915) 2018-08-30 13:15:47 -04:00
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 docs: update docs to reflect the changes in RxJS 6 (#26238) 2018-10-08 13:43:12 -07:00
observables-in-angular docs: minor wording change in code example comment (#26835) 2019-01-14 10:31:23 -08:00
pipes docs: correct types in transform method to match specification. (#29812) 2019-05-15 14:24:20 -07:00
practical-observable-usage docs: use static zip function as an Observable creator. (#26790) 2019-01-08 17:16:45 -08:00
providers docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
reactive-forms docs: update shared example dependencies to Angular 7 and CLI 7 (#25892) 2018-10-09 17:04:19 -07:00
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 test(core): fix security example e2e test (#26777) 2018-10-26 12:31:49 -04:00
service-worker-getting-started docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
set-document-title docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
setup docs: enable E2E test for setup example (#28592) 2019-02-11 17:09:24 +00:00
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 docs: fix typo (#26776) 2018-10-30 16:24:13 -04:00
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 test(upgrade): make e2e tests for upgrade docs examples less flaky (#26726) 2018-10-24 19:49:14 -04:00
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 docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
visual-studio-2015 docs(aio): remove example specific `.gitignore` files 2017-06-09 14:33:21 +01:00
.gitignore docs: update docs example dependencies to version 8 (#30385) 2019-05-17 14:16:55 -07:00
tsconfig.json build(aio): give intellisense to the examples 2017-04-15 22:15:54 +01:00
tslint.json refactor: remove tslint no-use-before-declare rule (#30288) 2019-05-07 10:25:36 -07:00