fix(split-pane): disabled prop is dynamic

fixes #14959
This commit is contained in:
Manu Mtz.-Almeida
2018-08-12 02:00:31 +02:00
parent b7e741ab80
commit 149039bd12

View File

@ -64,7 +64,7 @@ export class SplitPane {
componentDidLoad() {
this._styleChildren();
this.whenChanged();
this.updateState();
}
componentDidUnload() {
@ -74,8 +74,9 @@ export class SplitPane {
}
}
@Watch('disabled')
@Watch('when')
protected whenChanged() {
protected updateState() {
if (this.isServer) {
return;
}