Timeout example
Closed this issue · 0 comments
samhstn commented
As an elm developer, I would like to see simple working boilerplate elm code demonstrating an event, then timeout, then another event firing.
The following example would be useful as a reference:
See the following html:
<div>Hello world</div>
<button>Click</button>
On click of the button
, we see the following html
for 2 seconds:
<div>Showing "Hello world" after 2 seconds...</div>
Then the original message shows