I could have sworn I had tried that. Anyway, stumbling along...
in the javascript file I have something like this:
handleActionLinkAction: {
value: function(evt) {
if(this._layerType == "profile") {
this._layerType = "contact";
} else {
this._layerType = "profile";
}
}
},
_layerType: {
value: null
},
layerType: {
get: function() {
if(this._layerType == null) {
this._layerType = "profile";
}
return this._layerType;
},
set: function(value) {
this._layerType = value;
}
}
When I press the link I see that _layerType gets changed but why doesn't the substitution component switch between panels?