This commit is contained in:
chris
2022-05-23 14:48:27 +08:00
parent 3188d73c91
commit 4f52d5b3d5
4 changed files with 555 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ export default class MyPlugin extends Plugin {
// This creates an icon in the left ribbon.
const ribbonIconEl = this.addRibbonIcon('dice', 'Sample Plugin', (evt: MouseEvent) => {
// Called when the user clicks the icon.
new Notice('This is a notice!');
new Notice('Hello easy');
});
// Perform additional things with the ribbon
ribbonIconEl.addClass('my-plugin-ribbon-class');