Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ export default class PluginSample extends Plugin {
console.log("uninstall");
}

// 使用 saveData() 存储的数据发生变更时触发,注释掉则自动禁用插件再重新启用
// Triggered when data stored using saveData() changes. If commented out, the plugin will be automatically disabled and then re-enabled.
// onDataChanged() {
// console.log("onDataChanged");
// }

async updateCards(options: ICardData) {
options.cards.sort((a: ICard, b: ICard) => {
if (a.blockID < b.blockID) {
Expand Down