Merge 417b94ed6c
into 6d09ce3e39
This commit is contained in:
commit
14bfa1c7d0
1
main.ts
1
main.ts
|
@ -17,6 +17,7 @@ export default class MyPlugin extends Plugin {
|
||||||
await this.loadSettings();
|
await this.loadSettings();
|
||||||
|
|
||||||
// This creates an icon in the left ribbon.
|
// This creates an icon in the left ribbon.
|
||||||
|
// Most icons from https://lucide.dev/icons/ can be used.
|
||||||
const ribbonIconEl = this.addRibbonIcon('dice', 'Sample Plugin', (evt: MouseEvent) => {
|
const ribbonIconEl = this.addRibbonIcon('dice', 'Sample Plugin', (evt: MouseEvent) => {
|
||||||
// Called when the user clicks the icon.
|
// Called when the user clicks the icon.
|
||||||
new Notice('This is a notice!');
|
new Notice('This is a notice!');
|
||||||
|
|
Loading…
Reference in New Issue