angular-docs-cn/modules/@angular/examples/core
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
..
animation/ts/dsl fix(animations): change trigger binding syntax to function as a property binding [] 2016-07-07 14:13:06 -07:00
debug/ts/debug_element chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
di/ts/forward_ref chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
forms/ts/ng_validators feat(browser): use AppModules for bootstrap in the browser 2016-07-02 20:35:09 -07:00
pipes/ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00