Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set options? #78

Open
robfrancken opened this issue Jan 1, 2018 · 1 comment
Open

How to set options? #78

robfrancken opened this issue Jan 1, 2018 · 1 comment

Comments

@robfrancken
Copy link

The download links located here http://projects.jga.me/toc/ return 404.

I managed to install via npm, but when I set the options, using $('#toc').toc(); I get Uncaught TypeError: $(...).toc is not a function.

The example configures the selectors with <div class="toc" data-toc="h1, h2, h3">, and doesn't use any jQuery at all. Is there another example somewhere I can look at to get this working?

@cfab
Copy link

cfab commented Jun 3, 2021

Same question here !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants