mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
docs: about HistoryMechanism in dev doc
This commit is contained in:
parent
436343ce1b
commit
ebf84b59e8
8
editions/dev/tiddlers/mechanism/HistoryMechanism.tid
Normal file
8
editions/dev/tiddlers/mechanism/HistoryMechanism.tid
Normal file
@ -0,0 +1,8 @@
|
||||
created: 20230922141042399
|
||||
modified: 20230922141423022
|
||||
tags:
|
||||
title: HistoryMechanism
|
||||
|
||||
The story view is created by [[$:/core/ui/PageTemplate/story]] core page template, which uses list widget to render tiddlers. In this way, page template will reflect to history's change.
|
||||
|
||||
List widget has a `history="$:/HistoryList"` parameter, that will be used in list widget's `handleHistoryChanges` method, and pass to the `this.storyview.navigateTo`, you can read [[storyview module]] for how storyview use the changed history.
|
Loading…
Reference in New Issue
Block a user