creates a new function that, when called, has its this keyword set to the provided value
method | function | the target function |
thisArg | object | the value to be passed as the this parameter to the target function when the bound function is called |
function | a new function that, when called, has its this keyword that will be passed to the target function |
gantt.bind(method, thisArg);
The method is used as the IE8 compatible replacement of the Function.prototype.bind() function.
added in version 4.0
Back to top