Skip to content
Advertisement

how to show div after click only for few seconds

I’m working with BootstrapVue.

I have – I think – a very simple question, but I could not find anything that worked for me. I have a <b-button> which I want to click and than the second <div> should be shown but only for 3 Seconds.

I want to have my code without jQuery – how can I achieve that?

Thank You!

JavaScript

Advertisement

Answer

I hope this should resolve your problem.

JavaScript
Advertisement