Formatting.
This commit is contained in:
parent
22d6b1bedd
commit
a86243dbaf
@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
section.docs-sub-section
|
section.docs-sub-section
|
||||||
h4 Component Annotations
|
h4 Component Annotations
|
||||||
.c6
|
|
||||||
p
|
p
|
||||||
| A component annotation provides meta-data about the <code>component</code>. An annotation can always identified by its at-sign — <code>@</code>.
|
| A component annotation provides meta-data about the <code>component</code>. An annotation can always identified by its at-sign — <code>@</code>.
|
||||||
p
|
p
|
||||||
@ -106,7 +106,6 @@
|
|||||||
|
|
||||||
section.docs-sub-section
|
section.docs-sub-section
|
||||||
h4 Component Controller
|
h4 Component Controller
|
||||||
.c6
|
|
||||||
p
|
p
|
||||||
| The component controller is the backing of the component's template. A component controller uses ES6 <code>class</code> syntax.
|
| The component controller is the backing of the component's template. A component controller uses ES6 <code>class</code> syntax.
|
||||||
pre
|
pre
|
||||||
@ -135,7 +134,6 @@
|
|||||||
|
|
||||||
section.docs-sub-section
|
section.docs-sub-section
|
||||||
h4 The <code>bootstrap</code> function
|
h4 The <code>bootstrap</code> function
|
||||||
.c6
|
|
||||||
p
|
p
|
||||||
| Angular provides a <code>bootstrap</code> function that renders a component to the page. The <code>bootstrap</code> function takes a component as a parameter. Any child components inside of the parent component will render as well.
|
| Angular provides a <code>bootstrap</code> function that renders a component to the page. The <code>bootstrap</code> function takes a component as a parameter. Any child components inside of the parent component will render as well.
|
||||||
|
|
||||||
@ -170,7 +168,6 @@
|
|||||||
|
|
||||||
section.docs-sub-section
|
section.docs-sub-section
|
||||||
h4 Load the component module
|
h4 Load the component module
|
||||||
.c6
|
|
||||||
p
|
p
|
||||||
| The last step is to load the module for the app component. The es6-shim file comes packaged with the System library. Most browsers today do not support ES6 module loading. System provides module loading functionality to these browsers.
|
| The last step is to load the module for the app component. The es6-shim file comes packaged with the System library. Most browsers today do not support ES6 module loading. System provides module loading functionality to these browsers.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user