mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-04 05:09:10 +00:00
8 lines
518 B
Plaintext
8 lines
518 B
Plaintext
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. |