var instance = new GC.Spread.Sheets.StatusBar.StatusItem(name, options); var value; // Type: any value = instance.onDispose();
function onDispose() : any;
var instance = new GC.Spread.Sheets.StatusBar.StatusItem(name, options); var value; // Type: any value = instance.onDispose();
function onDispose() : any;
let StatusItem = GC.Spread.Sheets.StatusBar.StatusItem; function LabelItem (name, options) { StatusItem.call(this, name, options); } LabelItem.prototype = new StatusItem(); LabelItem.prototype.onDispose = function () { // dispose current item. // then call super dispose. StatusItem.prototype.onDispose.call(this); }