docs(cheatsheet): add NgModules docs to the cheatsheet

This commit is contained in:
Igor Minar
2016-08-08 17:18:50 -07:00
parent d21331e902
commit d1f4222c83
13 changed files with 63 additions and 34 deletions

View File

@ -1,6 +1,6 @@
@cheatsheetSection
Component configuration
@cheatsheetIndex 6
@cheatsheetIndex 7
@description
{@target js}`ng.core.Component` extends `ng.core.Directive`,
so the `ng.core.Directive` configuration applies to components as well{@endtarget}
@ -36,17 +36,3 @@ syntax:
styleUrls: ['my-component.css']`|`styles:`|`styleUrls:`
description:
List of inline CSS styles / external stylesheet URLs for styling components view.
@cheatsheetItem
syntax:
`directives: [MyDirective, MyComponent]`|`directives:`
description:
List of directives used in the the components template.
@cheatsheetItem
syntax:
`pipes: [MyPipe, OtherPipe]`|`pipes:`
description:
List of pipes used in the component's template.