AdminLTE/plugins/chart.js/docs/gitbook/gitbook-plugin-anchorjs/anchor-style.js

8 lines
195 B
JavaScript

gitbook.events.bind('start', function(e, config) {
anchors.options = config.anchorjs || {};
});
gitbook.events.bind('page.change', function() {
anchors.add('h1,h2,h3,h4,h5');
});