angular-cn/modules/angular2/docs/cheatsheet
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
..
bootstrapping.md feat(dart/transform): Use angular2/platform/browser as bootstrap lib 2016-03-21 00:58:17 +00:00
built-in-directives.md feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
class-decorators.md docs(cheatsheet): add Directive to cheatsheet 2016-04-25 20:41:34 +00:00
component-configuration.md docs(cheatsheet) adding JS specific syntax to cheatsheet 2015-12-14 23:19:12 -08:00
dependency-injection.md docs(cheatsheet/dart): fix imports 2016-04-07 21:23:14 +00:00
directive-and-component-decorators.md docs(cheatsheet/dart): fix imports 2016-04-07 21:23:14 +00:00
directive-configuration.md docs(cheatsheet) adding JS specific syntax to cheatsheet 2015-12-14 23:19:12 -08:00
forms.md docs(cheatsheet): fix Dart cheatsheet 2016-02-08 15:58:22 -08:00
lifecycle hooks.md docs(cheatsheet) adding JS specific syntax to cheatsheet 2015-12-14 23:19:12 -08:00
routing.md docs(cheatsheet/dart): fix imports 2016-04-07 21:23:14 +00:00
template-syntax.md docs(template-syntax): rename elvis operator 2016-04-25 21:26:33 +00:00