d2efac18ed
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 |
||
---|---|---|
.. | ||
animate/ts | ||
common/forms/ts/validators | ||
compiler/ts/url_resolver | ||
core | ||
facade/ts/async | ||
http/ts | ||
platform/dom/debug/ts | ||
router/ts | ||
testing/ts | ||
web_workers/ts | ||
README.md |
README.md
API Examples
This folder contains small example apps that get in-lined into our API docs. These examples are written with idiomatic TypeScript, and are not transpiled to Dart. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.