var value = obj.getPanelHeight(); obj.setPanelHeight(value); obj.onPanelHeightChanging = function(value){...}; obj.onPanelHeightChanged = function(value){...}; obj.onPanelHeightError = function(value){...};