We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using Browserify with TetherTooltip. require("tether-tooltip/tooltip"); works fine to get the code.
require("tether-tooltip/tooltip");
However, Tether gives me the error Tether Error: Both element and target must be defined
Tether Error: Both element and target must be defined
Versions are:
/*! tether-tooltip 0.2.6 */ /*! tether 0.6.5 */
Notice that I have this error even with the code sample
new Tooltip({ target: targetElement, position: 'top left', content: "My awesome <b>content</b>.", classes: 'my-tether-theme' });
I see in my debugger the call to setOptions with the attributes
setOptions
options: Object classes: "my-tether-theme" content: "My awesome <b>content</b>." position: "top left" target: div.space-overview-shared-with-count
So is it a bug? At least I don't understand what I am supposed to pass as element
element
The text was updated successfully, but these errors were encountered:
Actually it's not a bug with Tether or Tooltip, it's a problem when using the NPM package with browserify.
Sorry, something went wrong.
Any fix for this?
No branches or pull requests
I'm using Browserify with TetherTooltip.
require("tether-tooltip/tooltip");
works fine to get the code.However, Tether gives me the error
Tether Error: Both element and target must be defined
Versions are:
Notice that I have this error even with the code sample
I see in my debugger the call to
setOptions
with the attributesSo is it a bug? At least I don't understand what I am supposed to pass as
element
The text was updated successfully, but these errors were encountered: