diff --git a/src/app/showcase/components/splitter/splitterdemo.html b/src/app/showcase/components/splitter/splitterdemo.html index e34b3754c98..86d4b91902f 100644 --- a/src/app/showcase/components/splitter/splitterdemo.html +++ b/src/app/showcase/components/splitter/splitterdemo.html @@ -108,9 +108,9 @@
Layout
Initial Sizes
-

When no sizes are defined, panels are split 50/50, use the sizes property to give relative widths e.g. [20,80].

+

When no sizes are defined, panels are split 50/50, use the panelSizes property to give relative widths e.g. [20,80].

-<p-splitter [style]="{'height': '300px'}" [sizes]="[20,80]" layout="vertical"> +<p-splitter [style]="{'height': '300px'}" [panelSizes]="[20,80]" layout="vertical"> <ng-template> Panel 1 </ng-template> @@ -196,7 +196,7 @@
Properties
- sizes + panelSizes number null Size of the elements relative to 100%. @@ -397,4 +397,4 @@
Dependencies
- \ No newline at end of file +