diff --git a/public/resources/js/cheatsheet.json b/public/resources/js/cheatsheet.json new file mode 100644 index 0000000000..dac540d788 --- /dev/null +++ b/public/resources/js/cheatsheet.json @@ -0,0 +1,464 @@ +[ + { + "name": "Bootstrapping", + "description": "

import {bootstrap} from 'angular2/angular2';

\n", + "items": [ + { + "syntax": "", + "bold": [ + "[value]" + ], + "description": "

Binds property value to the result of expression firstName.

\n" + }, + { + "syntax": "
", + "bold": [ + "[attr.role]" + ], + "description": "

Binds attribute role to the result of expression myAriaRole.

\n" + }, + { + "syntax": "
", + "bold": [ + "[class.extra-sparkle]" + ], + "description": "

Binds the presence of the css class extra-sparkle on the element to the truthiness of the expression isDelightful.

\n" + }, + { + "syntax": "
", + "bold": [ + "[style.width.px]" + ], + "description": "

Binds style property width to the result of expression mySize in pixels. Units are optional.

\n" + }, + { + "syntax": "