Closed blpraveen closed 9 years ago
I want to handle on selected event . it is not working . What am I doing wrong?
$('#pageContents').toc({ 'smoothScrolling': function(target, options, callback) { $(target).smoothScroller({ offset: options.scrollToOffset }).on('smoothScrollerComplete', function() { console.log('asds'); $('#pageContents').sly('toEnd', $('#pageContents').find('.toc-active')) callback(); }); } });
Sorry, I wanted to use onHighlight function . i did wrong
I want to handle on selected event . it is not working . What am I doing wrong?