"Delayed Text": Snowman (v1.3.0)#
Summary#
"Delayed Text" uses the delay() function in Underscore combined with a jQuery selector to target an element with the ID of "results" to change its internal text after five seconds.
Example#
Twee Code#
:: StoryTitle
Delayed Text in Snowman
:: Start
<div id="results"></div>
<%
_.delay(
function() {
$("#results").text("It has been 5 seconds. Show the text!");
},
5000);
%>