User Tools

Site Tools


snowman:window-story:show

show() is a function of the window.story global JavaScript variable created by Snowman.

Name: show()

Parameters: {String or Number} ID or name of the passage; {Boolean} if true, then this will not be recorded in the story history

Return Type: (None.)

Description: Displays a passage on the page, replacing the current one. If there is no passage by the name or ID passed, an exception is raised.

snowman/window-story/show.txt · Last modified: 2017/10/10 00:39 (external edit)