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

Update README.md

This commit is contained in:
Björn Ritzl 2017-12-08 06:52:30 +01:00 committed by GitHub
parent 9c48899440
commit eca1f54ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ Show a Monarch screen
* ```screen_id``` (hash) - Id of the screen to show. * ```screen_id``` (hash) - Id of the screen to show.
* ```options``` (table) - Options when showing the new screen (see below). * ```options``` (table) - Options when showing the new screen (see below).
* ```data``` (table) - Optional data to associate with the screen. Retrieve using ```monarch.data()```. * ```data``` (table) - Optional data to associate with the screen. Retrieve using ```monarch.data()```.
* ```callback``` (function) - Function to call when the new screen is visible. * ```callback``` (function) - Optional function to call when the new screen is visible.
The options table can contain the following fields: The options table can contain the following fields: