| Index: third_party/pkg/route_hierarchical/example/full/company-info-loader.html
|
| diff --git a/third_party/pkg/route_hierarchical/example/full/company-info-loader.html b/third_party/pkg/route_hierarchical/example/full/company-info-loader.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..beb45915a69bb822c6ede554c2b0ede62958513c
|
| --- /dev/null
|
| +++ b/third_party/pkg/route_hierarchical/example/full/company-info-loader.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<html>
|
| + <head>
|
| + <link rel="import" href="company-info.html">
|
| + </head>
|
| + <body>
|
| + <element name="x-company-info-loader" constructor="CompanyInfoLoaderComponent" extends="div">
|
| + <template>
|
| + <template if="company == null">
|
| + Loading...
|
| + </template>
|
| + <template if="company != null">
|
| + <x-company-info company="{{company}}" route="{{companyRoute}}"></x-company-info>
|
| + </template>
|
| + </template>
|
| + <script type="application/dart" src="company-info-loader.dart"></script>
|
| + </element>
|
| + </body>
|
| +</html>
|
|
|