You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -40,3 +40,5 @@ Your `playerOptions` should be an object with the following properties:
40
40
-`html` (optional): Set this to true if your ficdown file contains raw html that you want rendered. By default html will not be rendered.
41
41
-`startText` (optional): Set this to override the link text that begins the game.
42
42
-`endMarkdown` (optional): Set this to override the "game over" content that is displayed when the player reaches a scene with no more links to follow. Include an anchor with the href set to `restart()` if you want a link that will start the story over from the beginning.
43
+
-`start` (optional): Javascript callback function to execute when the user clicks the first link to begin the story.
44
+
-`finish` (optional): Javascript callback function to execute when the story has finished.
0 commit comments