From 8b143667637ccc96aff578173f628965c66bc942 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Tue, 10 Jul 2018 12:26:29 +0300 Subject: [PATCH] (Angular Material Examples) Updated the examples --- .../cdk-table-basic-example.html | 8 +- .../cdk-table-basic-example.ts | 2 +- .../table-basic/table-basic-example.html | 50 ++++++------ .../table-filtering-example.html | 52 ++++++------ .../table-footer-row-example.html | 12 +-- .../table-http/table-http-example.html | 50 ++++++------ .../table-overview-example.html | 6 +- .../table-selection-example.html | 80 +++++++++---------- .../table-sorting/table-sorting-example.html | 46 +++++------ .../tooltip-position-example.html | 4 +- .../tree-dynamic/tree-dynamic-example.ts | 5 +- 11 files changed, 159 insertions(+), 156 deletions(-) diff --git a/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.html b/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.html index 9c411146..2664fe00 100755 --- a/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.html +++ b/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.html @@ -3,19 +3,19 @@ No. {{element.position}} - + - + Name {{element.name}} - + Weight {{element.weight}} - + diff --git a/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.ts b/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.ts index 344e04ce..57ca6060 100755 --- a/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.ts +++ b/src/assets/angular-material-examples/cdk-table-basic/cdk-table-basic-example.ts @@ -20,7 +20,7 @@ export interface PeriodicElement { position: number; weight: number; symbol: string; - } +} const ELEMENT_DATA: PeriodicElement[] = [ {position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H'}, diff --git a/src/assets/angular-material-examples/table-basic/table-basic-example.html b/src/assets/angular-material-examples/table-basic/table-basic-example.html index accb8a7c..054cb0c6 100755 --- a/src/assets/angular-material-examples/table-basic/table-basic-example.html +++ b/src/assets/angular-material-examples/table-basic/table-basic-example.html @@ -1,33 +1,33 @@ - + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - -
No. {{element.position}} No. {{element.position}} Name {{element.name}} Name {{element.name}} Weight {{element.weight}} Weight {{element.weight}} Symbol {{element.symbol}} Symbol {{element.symbol}}
+ + + diff --git a/src/assets/angular-material-examples/table-filtering/table-filtering-example.html b/src/assets/angular-material-examples/table-filtering/table-filtering-example.html index 365537f9..f0e4e00a 100755 --- a/src/assets/angular-material-examples/table-filtering/table-filtering-example.html +++ b/src/assets/angular-material-examples/table-filtering/table-filtering-example.html @@ -1,33 +1,33 @@ - - - + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - -
No. {{element.position}} No. {{element.position}} Name {{element.name}} Name {{element.name}} Weight {{element.weight}} Weight {{element.weight}} Symbol {{element.symbol}} Symbol {{element.symbol}}
+ + + diff --git a/src/assets/angular-material-examples/table-footer-row/table-footer-row-example.html b/src/assets/angular-material-examples/table-footer-row/table-footer-row-example.html index bbf9c2c3..c5faed4e 100755 --- a/src/assets/angular-material-examples/table-footer-row/table-footer-row-example.html +++ b/src/assets/angular-material-examples/table-footer-row/table-footer-row-example.html @@ -1,17 +1,17 @@ - - + + - + - - + + - + diff --git a/src/assets/angular-material-examples/table-http/table-http-example.html b/src/assets/angular-material-examples/table-http/table-http-example.html index ad80ff5d..49992857 100755 --- a/src/assets/angular-material-examples/table-http/table-http-example.html +++ b/src/assets/angular-material-examples/table-http/table-http-example.html @@ -10,36 +10,36 @@
Item {{transaction.item}} Total Cost {{transaction.cost | currency}} {{getTotalCost() | currency}}
- - - - - + matSort matSortActive="created" matSortDisableClear matSortDirection="asc"> + + + + + - - - - - + + + + + - - - - - + + + + + - - + + - - + Created + + + - - -
#{{ row.number }}#{{ row.number }}Title{{ row.title }}Title{{ row.title }}State{{ row.state }}State{{ row.state }} - Created - {{ row.created_at | date }}{{ row.created_at | date }}
+ + + diff --git a/src/assets/angular-material-examples/table-overview/table-overview-example.html b/src/assets/angular-material-examples/table-overview/table-overview-example.html index e36a8657..20620a8e 100755 --- a/src/assets/angular-material-examples/table-overview/table-overview-example.html +++ b/src/assets/angular-material-examples/table-overview/table-overview-example.html @@ -1,6 +1,6 @@ - - - + + +
diff --git a/src/assets/angular-material-examples/table-selection/table-selection-example.html b/src/assets/angular-material-examples/table-selection/table-selection-example.html index c8af8133..a22d5626 100755 --- a/src/assets/angular-material-examples/table-selection/table-selection-example.html +++ b/src/assets/angular-material-examples/table-selection/table-selection-example.html @@ -1,47 +1,47 @@
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
- - - - - - + + + + + + No. {{element.position}} No. {{element.position}} Name {{element.name}} Name {{element.name}} Weight {{element.weight}} Weight {{element.weight}} Symbol {{element.symbol}} Symbol {{element.symbol}}
+ + + + diff --git a/src/assets/angular-material-examples/table-sorting/table-sorting-example.html b/src/assets/angular-material-examples/table-sorting/table-sorting-example.html index 30548862..977bed07 100755 --- a/src/assets/angular-material-examples/table-sorting/table-sorting-example.html +++ b/src/assets/angular-material-examples/table-sorting/table-sorting-example.html @@ -1,29 +1,29 @@ - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - -
No. {{element.position}} No. {{element.position}} Name {{element.name}} Name {{element.name}} Weight {{element.weight}} Weight {{element.weight}} Symbol {{element.symbol}} Symbol {{element.symbol}}
+ + + diff --git a/src/assets/angular-material-examples/tooltip-position/tooltip-position-example.html b/src/assets/angular-material-examples/tooltip-position/tooltip-position-example.html index 42066b30..f4b76551 100755 --- a/src/assets/angular-material-examples/tooltip-position/tooltip-position-example.html +++ b/src/assets/angular-material-examples/tooltip-position/tooltip-position-example.html @@ -3,8 +3,8 @@ {{ positionOption }} - - + +