Skip to content

Uncaught ReferenceError: Drop is not defined #180

@stelasido

Description

@stelasido

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions