question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to destroy instance?

See original GitHub issue

I notice issue, if I use click trigger, then hit Return button - tootip doesn’t destroyed 😦

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
KABBOUCHIcommented, Aug 22, 2017

https://www.webpackbin.com/bins/-Ks9CUyJ1wLiluCpkScf

now it’s working, will be added in the next update (when component destroyed => Tippy will be destroyed automatically)

1reaction
KABBOUCHIcommented, Aug 20, 2017

you need to pass also ‘popper’ to the destroy method. instance.tippy.destroy(instance.tippy.getPopperElement(instance.tippy.selector))

https://www.webpackbin.com/bins/-Ks0Zp9khhhcTFqPFfYz

should be done automatically, I’ll add it in the next version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

instance_destroy
The above code will destroy the instance running the code without calling the Destroy Event if the instance is outside the room bounds....
Read more >
Create and destroy class instance through class method
1- There is no way to actually destroy an object in javascript, but using delete , we could remove a reference from an...
Read more >
Scripting API: Object.Destroy - Unity - Manual
Removes a GameObject, component or asset. The object obj is destroyed immediately after the current Update loop, or t seconds from now if...
Read more >
How to destroy an object in Python? - Tutorialspoint
Using d = destructor("Destroyed"), first create an object for the student class. Now, the same object is referenced by both d and d1...
Read more >
JavaScript Destroy Object - Linux Hint
An object can be destroyed in JavaScript by using the delete operator to delete a specific object property or manually destroying the whole...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found