Splitter property for initial size should be called panelSize on the showcase #9807
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/github/primefaces/primeng-issue-template
Current behavior
The showcase calls the property to set the initial size of the panels in the splitter component
size
at some places,panelSize
at others. Looking at the source code, the correct name should bepanelSize
.When using
size
, angular complains, since it isn't a known property ofp-splitter
.Expected behavior
Correct documentation/showcase and no error.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Correct the documentation. Help people not have angular errors when using the wrong property.
Please tell us about your environment:
Language:
Node (for AoT issues):
node --version
= 15.2.1The text was updated successfully, but these errors were encountered: