3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 10:27:49 +02:00

Updated docs with new notification messages

This commit is contained in:
Björn Ritzl 2018-06-20 13:49:02 +02:00
parent 22f0e6cddf
commit d528947998

View File

@ -352,16 +352,32 @@ Remove a previously added listener.
Enable verbose logging of the internals of Monarch. Enable verbose logging of the internals of Monarch.
### monarch.SCREEN_VISIBLE ### monarch.SCREEN_TRANSITION_IN_STARTED
Message sent to listeners when a screen becomes visible. Message sent to listeners when a screen has started to transition in.
**PARAMETERS** **PARAMETERS**
* ```screen``` (hash) - Id of the screen * ```screen``` (hash) - Id of the screen
* ```previous_screen``` (hash) - Id of the previous screen (if any) * ```previous_screen``` (hash) - Id of the previous screen (if any)
### monarch.SCREEN_HIDDEN ### monarch.SCREEN_TRANSITION_IN_FINISHED
Message sent to listeners when a screen is hidden. Message sent to listeners when a screen has finished to transition in.
**PARAMETERS**
* ```screen``` (hash) - Id of the screen
* ```previous_screen``` (hash) - Id of the previous screen (if any)
### monarch.SCREEN_TRANSITION_OUT_STARTED
Message sent to listeners when a screen has started to transition out.
**PARAMETERS**
* ```screen``` (hash) - Id of the screen
* ```next_screen``` (hash) - Id of the next screen (if any)
### monarch.SCREEN_TRANSITION_OUT_FINISHED
Message sent to listeners when a screen has finished to transition out.
**PARAMETERS** **PARAMETERS**
* ```screen``` (hash) - Id of the screen * ```screen``` (hash) - Id of the screen