mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Fix links to tw.com from tw.com/dev
This commit is contained in:
parent
3c6481e3d7
commit
a465f19ca0
@ -8,7 +8,7 @@ title: Selective Update
|
|||||||
With [[Messages]] a widget is able to put some kind of events into the TiddlyWiki application which is one part of the dynamic behaviour of widgets.
|
With [[Messages]] a widget is able to put some kind of events into the TiddlyWiki application which is one part of the dynamic behaviour of widgets.
|
||||||
The other part is selective updating.
|
The other part is selective updating.
|
||||||
Widgets are often dependant on tiddler states.
|
Widgets are often dependant on tiddler states.
|
||||||
The ~ListWidget for example can be configured to list all tiddlers which are tagged with "important".
|
The [[ListWidget|http://tiddlywiki.com/#ListWidget]] for example can be configured to list all tiddlers which are tagged with "important".
|
||||||
Now, when such a tiddler is changed and it's "important" tag is removed, this change should reflect in the ~ListWidget.
|
Now, when such a tiddler is changed and it's "important" tag is removed, this change should reflect in the ~ListWidget.
|
||||||
To allow widgets to react on such changes, each widget can provide a function ``refresh(changedTiddlers)``.
|
To allow widgets to react on such changes, each widget can provide a function ``refresh(changedTiddlers)``.
|
||||||
The [[RootWidget|RootWidget and Rendering Startup]] is registered to the wiki store, using the [[Event Mechanism]]. When an change event occurs it starts to call the refresh function of its children with a list of the changed tiddlers.
|
The [[RootWidget|RootWidget and Rendering Startup]] is registered to the wiki store, using the [[Event Mechanism]]. When an change event occurs it starts to call the refresh function of its children with a list of the changed tiddlers.
|
||||||
|
Loading…
Reference in New Issue
Block a user