SpreadJS Documentation
bind Method
GC.Spread.Sheets.StatusBar Namespace > StatusBar type : bind Method
The context of the StatusBar. The context can trigger the status change of StatusBar. Here the context is the instance of GC.Spread.Sheets.Workbook.
Bind the context of the StatusBar.
Syntax
var instance = new GC.Spread.Sheets.StatusBar.StatusBar(host);
var value; // Type: any
value = instance.bind(context);
function bind( 
   context : Object
) : any;

Parameters

context
The context of the StatusBar. The context can trigger the status change of StatusBar. Here the context is the instance of GC.Spread.Sheets.Workbook.
Example
let spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
let statusBar = new GC.Spread.Sheets.StatusBar.StatusBar(document.getElementById('statusBar'));
statusBar.bind(spread);
See Also

Reference

StatusBar type