This shows you the differences between two versions of the page.
snowman:window-story:show [2017/10/09 20:39] |
snowman:window-story:show [2017/10/09 20:39] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | //show()// is a function of the [[snowman:window-story|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. |