title: Making a function wait a certain amount of time before it executes
body: <p>I have a button which when clicked, I want it to wait 10 seconds before it does its thing like for example switching to a new view. How would I go about in doing this? Any help would be appreciated!</p>