User Tools

Site Tools


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

Name: checkpoint()

Parameters: {String} Checkpoint name, appears in history, optional

Return Type: (None.)

Description: Tries to add an entry in the browser history for the current story state. Remember, only variables set on this story's state variable are stored in the browser history.

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