diff --git a/modules/angular2/docs/cheatsheet/bootstrapping.md b/modules/angular2/docs/cheatsheet/bootstrapping.md new file mode 100644 index 0000000000..b863e09470 --- /dev/null +++ b/modules/angular2/docs/cheatsheet/bootstrapping.md @@ -0,0 +1,56 @@ +@cheatsheetSection +@name Bootstrapping +@description +`import {bootstrap} from 'angular2/angular2';` + +@cheatsheetItem +``|`[value]` +Binds property `value` to the result of expression `firstName`. + +@cheatsheetItem +`
`|`[attr.role]` +Binds attribute `role` to the result of expression `myAriaRole`. + +@cheatsheetItem +`
`|`[class.extra-sparkle]` +Binds the presence of the css class `extra-sparkle` on the element to the truthiness of the expression `isDelightful`. + +@cheatsheetItem +`
`|`[style.width.px]` +Binds style property `width` to the result of expression `mySize` in pixels. Units are optional. + +@cheatsheetItem +`