angular-docs-cn/modules/@angular/examples
Matias Niemelä 7f4954bed6 fix(animations): change trigger binding syntax to function as a property binding []
Animation triggers can now be set via template bindings `[]`

BREAKING CHANGE:

animation trigger expressions within the template that are assigned as
an element attribute (e.g. `@prop`) are deprecated. Please use the
Angular2 property binding syntax (e.g. `[@prop]`) when assigning
properties.

```ts
// this is now deprecated
<div @trigger="expression"></div>

// do this instead
<div [@trigger]="expression"></div>
```
2016-07-07 14:13:06 -07:00
..
animate/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
common/forms/ts/validators chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
compiler/ts/url_resolver chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
core fix(animations): change trigger binding syntax to function as a property binding [] 2016-07-07 14:13:06 -07:00
facade/ts/async chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
http/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
platform-browser/dom/debug/ts fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
router_deprecated/ts fix(platform-browser/testing-e2e): clean up unused exports from e2e testing helpers (#9387) 2016-06-23 16:14:31 -07:00
testing/ts fix(core/testing): clean up the core testing public API (#9466) 2016-06-23 17:10:22 -07:00
web_workers/ts repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00

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.