angular-docs-cn/modules/angular2/docs
Tobias Bosch d2efac18ed feat(core): separate refs from vars.
Introduces `ref-` to give a name to an element or a directive (also works for `<template>` elements), and `let-` to introduce an input variable for a `<template>` element.

BREAKING CHANGE:
- `#...` now always means `ref-`.
- `<template #abc>` now defines a reference to the TemplateRef, instead of an input variable used inside of the template.
- `#...` inside of a *ngIf, … directives is deprecated.
  Use `let …` instead.
- `var-...` is deprecated. Replace with `let-...` for `<template>` elements and `ref-` for non `<template>` elements.

Closes #7158

Closes #8264
2016-04-28 01:13:40 +00:00
..
bundles docs(bundles/overview.md): fix typo 2016-03-22 01:53:35 +00:00
change_detection docs(change_detection): add explicit @name and @description 2015-02-17 08:08:47 +00:00
cheatsheet feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
core feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
di chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
migration docs: fix variable name, change to camelCase 2015-12-10 14:35:28 -08:00
web_workers refactor(WebWorker): Rename WORKER_RENDER_APP to WORKER_RENDER_APPLICATION 2016-01-14 00:07:13 +00:00