mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-13 08:16:05 +00:00
Introduce refresh button and revert home button
Now the home button behaves as it did in 5.0.13, and the new refresh button does a full page refresh.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
created: 20140312223013470
|
||||
modified: 20140729223134387
|
||||
created: 20140819110529062
|
||||
modified: 20140819110529062
|
||||
tags: message
|
||||
title: WidgetMessage: tw-home
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The `tw-home` message refreshes the current page by removing any [[permalink|PermaLinks]] from the browser address bar, causing the re-display of the [[$:/DefaultTiddlers]], and re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object.
|
||||
The `tw-home` message closes any open tiddlers and re-opens the default tiddlers set in [[$:/DefaultTiddlers]]. It also remove any [[permalink|PermaLinks]] from the browser address bar. It does not require any properties on the `event` object.
|
||||
|
||||
The home message is usually generated with the ButtonWidget and is handled by the core.
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
created: 20140819110529062
|
||||
modified: 20140819110529062
|
||||
tags: message
|
||||
title: WidgetMessage: tw-refresh
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The `tw-refresh` message refreshes the current page by removing any [[permalink|PermaLinks]] from the browser address bar, causing the re-display of the [[$:/DefaultTiddlers]], and re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object.
|
||||
|
||||
The refresh message is usually generated with the ButtonWidget and is handled by the core.
|
||||
Reference in New Issue
Block a user