[collapsible]="true", because there is no way I can track if user changed collapsed property in UI.I suggest two-way binding for collapsed property.
If for some reason this is not possible, I suggest adding event CollapsedChange.
Same is done for size property as described here.
This functionality has been released on the development channel, version v2.1.0-dev.201802151013.
@gyoshev
Can I ask what was released. 2-way binding, event or both? I check documentation on DEVELOP channel but not find that information.
@MaklaCof both, because two-way binding is implemented through an event :slightly_smiling_face: In Angular, two-way binding is available for the property propName when there's a @Output() public propNameChange event emitter.
The event is documented in the SplitterPaneComponent API page.
When will this functionality be available on the main channel? Is there a workaround for using that functionality with the current stable release? How can I bind to the collapsed event without using a development build?
@Kevat version 2.1.0 of the package has just been released, and includes the above functionality.
@gyoshev Thank you Alex! I was able to update the package and use the new event emitter for collapsedChange.