47 lines
939 B
HTML
47 lines
939 B
HTML
|
<!-- async examples at the top so can see them in action -->
|
||
|
<my-hero></my-hero>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<hero-list></hero-list>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<!-- #docregion hero-birthday-template -->
|
||
|
<p>The hero's birthday is {{ birthday | date }}</p>
|
||
|
<!-- #enddocregion hero-birthday-template-->
|
||
|
|
||
|
<!-- #docregion format-birthday -->
|
||
|
<p>The hero's birthday is {{ birthday | date:"MM/dd/yy" }} /p>
|
||
|
<!-- #enddocregion format-birthday-->
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<h4>Hero Birthday 2</h4>
|
||
|
<hero-birthday>loading...</hero-birthday>
|
||
|
<hr>
|
||
|
|
||
|
|
||
|
<!-- #docregion chained-birthday -->
|
||
|
<p>
|
||
|
The chained hero's birthday is
|
||
|
{{ birthday | date | uppercase}}
|
||
|
</p>
|
||
|
<!-- #enddocregion chained-birthday -->
|
||
|
|
||
|
<!-- #docregion chained-parameter-birthday -->
|
||
|
<p>
|
||
|
The chained hero's birthday is
|
||
|
{{ ( birthday | date:'fullDate' ) | uppercase}}
|
||
|
</p>
|
||
|
<!-- #enddocregion chained-parameter-birthday -->
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<power-booster>loading...</power-booster>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<power-boost-calculator>loading ..</power-boost-calculator>
|
||
|
|