1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-full-screen.tid

29 lines
796 B
Plaintext
Raw Normal View History

caption: tm-full-screen
2014-08-11 12:17:11 +00:00
created: 20140811112400855
modified: 20180814215126941
2014-09-11 14:52:47 +00:00
tags: Messages
2014-08-28 20:43:44 +00:00
title: WidgetMessage: tm-full-screen
2014-08-15 09:06:19 +00:00
type: text/vnd.tiddlywiki
2014-08-11 12:17:11 +00:00
The fullscreen message is used to enter, exit or toggle the "fullscreen" mode of the browser, if it supports it. It uses the following properties on the `event` object:
|!Name |!Description |
|param |`enter` to enter full screen mode, `exit` to exit it, otherwise toggle the full screen status |
The fullscreen message is handled by the TiddlyWiki core.
<$macrocall $name='wikitext-example-without-html'
src='<$button message="tm-full-screen">
Full screen toggle
</$button>
<$button message="tm-full-screen" param="enter">
Full screen enter
</$button>
<$button message="tm-full-screen" param="exit">
Full screen exit
</$button>'/>
2014-08-11 12:17:11 +00:00