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

Uncaught ReferenceError: Drop is not defined #180

Open
stelasido opened this issue Jun 28, 2019 · 0 comments
Open

Uncaught ReferenceError: Drop is not defined #180

stelasido opened this issue Jun 28, 2019 · 0 comments

Comments

@stelasido
Copy link

stelasido commented Jun 28, 2019

Thanks for the library. I have tried everything, but this library is so poor documented:
Install:
npm install tether-drop

Import JS libs (all of them):

require('../../node_modules/tether/dist/js/tether.min'); require('../../node_modules/tether-drop/dist/js/drop.min'); require('../third_party/drop-master/dist/js/drop');

Then use the example:

let dropInstance = new Drop({ target: document.querySelector('.drop-target'), content: 'Welcome to the future', classes: 'drop-theme-arrows', position: 'bottom left', openOn: 'click' })

, but I am getting an error:

Uncaught ReferenceError: Drop is not defined

I don't know why just don't put simple example, how it works, how to install, properties/methods , what to include, like every other library. This is all what people wants.
I have no problem with other libraries.

I am using Elixir with GULP - Laravel. Everything is compiled and imported. What I am missing ?

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

1 participant