diff --git a/src/app/showcase/doc/orderlist/basicdoc.ts b/src/app/showcase/doc/orderlist/basicdoc.ts index c0549e699e7..74dfab5a80e 100644 --- a/src/app/showcase/doc/orderlist/basicdoc.ts +++ b/src/app/showcase/doc/orderlist/basicdoc.ts @@ -9,22 +9,19 @@ import { ProductService } from '../../service/productservice';

OrderList is used as a controlled input with value properties. Content of a list item needs to be defined with the pTemplate property that receives an object in the list as parameter.

-
- +
+ -
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
@@ -61,42 +58,36 @@ export class BasicDoc implements OnInit { code: Code = { basic: ` - + -
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
`, html: ` -
- +
+ -
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
diff --git a/src/app/showcase/doc/orderlist/dragdropdoc.ts b/src/app/showcase/doc/orderlist/dragdropdoc.ts index b0fb1851b14..72fa2b8f9b2 100644 --- a/src/app/showcase/doc/orderlist/dragdropdoc.ts +++ b/src/app/showcase/doc/orderlist/dragdropdoc.ts @@ -9,22 +9,19 @@ import { ProductService } from '../../service/productservice';

Items can be reordered using drag and drop by enabling dragdrop property.

-
+
-
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
@@ -63,40 +60,34 @@ export class DragDropDoc implements OnInit { basic: ` -
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
`, html: ` -
+
-
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
diff --git a/src/app/showcase/doc/orderlist/filterdoc.ts b/src/app/showcase/doc/orderlist/filterdoc.ts index 1defedc941a..2fb20ab8f05 100644 --- a/src/app/showcase/doc/orderlist/filterdoc.ts +++ b/src/app/showcase/doc/orderlist/filterdoc.ts @@ -9,22 +9,19 @@ import { ProductService } from '../../service/productservice';

Filter value is checked against the property of an object configured with the filterBy property

-
+
-
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
@@ -63,40 +60,34 @@ export class FilterDoc implements OnInit { basic: ` -
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}
`, html: ` -
+
-
-
- -
-
-
{{ product.name }}
- - {{ product.category }} -
-
-
{{ '$ ' + product.price }}
- +
+ +
+ {{ product.name }} +
+ + {{ product.category }} +
+ {{ '$' + product.price }}