I am using the following binding on each cell in a large HTML Excel like grid. Right now I am binding to every cell, is there a way to do this with lazy loading it on mouse hover over a certain delay so each cell doesnt need to activate it? If the mouse is over the cell for say 2 seconds, the tooltip binding activates and is shown. This tooltip is the bootstrap tooltip.
ko.bindingHandlers.tooltip = {
init: function (element, valueAccessor) {
$(element).tooltip();
ko.utils.domNodeDisposal.addDisposeCallback(element, function () {
$(element).tooltip("destroy");
});
}
};