Destroy method
See original GitHub issueI have several cocoens into tabs or accordion structure. The cocoens that are “collapsed” are broken.
My idea is to call a destroy method and the recreate.
How can I do it manually? I mean revert this
document.querySelectorAll('.cocoen').forEach(function(element){
new Cocoen(element);
});
To execute it again.
Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Spring core. Default @Bean destroy method - Stack Overflow
This 'destroy method inference' is currently limited to detecting only public, no-arg methods named 'close' or 'shutdown'. In other words, if ...
Read more >Spring init-method and destroy-method example - Mkyong.com
In Spring, you can use init-method and destroy-method as attribute in bean configuration file for bean to perform certain actions upon ...
Read more >What is the thread destroy() method in java? - Educative.io
The destroy() method is used to stop the execution of thread groups and subgroups after the completion of the run() method, which executes...
Read more >Invoke spring bean init and destroy methods? - Java2Novice
You can define initialization and destroy methods with in the spring bean. You can configure it using init-method, and destroy-method in the xml...
Read more >destroy() method in Tkinter - Python - Tutorialspoint
The destroy() method in Tkinter destroys a widget. It is useful in controlling the behavior of various widgets which depend on each other....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I need to see the issue myself, before I can think of a proper solution. Will take a look it at, but I’m quite busy at the moment. Thanks for reporting guys!
The solution I have for now is just making all the div’s with cocoen sliders visible (not display:none) upon load. Run the
and then hide them. After that it works fine and yes there is a tiny blip upon load where everything is seen but it’s really fast and so far thats the best I can come up with.
@koenoe if you want to try to work on a solution together let me know, we do can a skype call or something.