skip to content
Twine Wiki
User Tools
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
passage-events
Sidebar
General Usage
Markup
Underscore
CSS
window.story
Properties
name
startPassage
creator
creatorVersion
history
state
checkpointName
ignoreErrors
errorMessage
passages
userScripts
userStyles
atCheckpoint
Functions
checkpoint()
passage()
render()
restore()
save()
saveHash()
show()
start()
window.passage
Properties
id
name
tags
source
Functions
render()
snowman:passage-events
Passage Events
Snowman provides three different events that happen in sequence.
hidepassage
: occurs as a passage is about to be replaced. The passage being replaced is sent as the 'passage' parameter to the event.
showpassage
: occurs before the passage is rendered. The passage about to be shown is the 'passage' parameter to the event.
showpassage:after
: occurs after everything has been processed. The now rendered passage is sent as the 'passage' parameter to the event.
snowman/passage-events.txt
· Last modified: 2018/06/02 06:37 by
videlais
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top