Add a link to the icon list.
I had to ask in Discord for this link, this will help people looking for icons in the future.
This commit is contained in:
		
							parent
							
								
									2aee08d3d5
								
							
						
					
					
						commit
						417b94ed6c
					
				
							
								
								
									
										1
									
								
								main.ts
								
								
								
								
							
							
						
						
									
										1
									
								
								main.ts
								
								
								
								
							| 
						 | 
				
			
			@ -17,6 +17,7 @@ export default class MyPlugin extends Plugin {
 | 
			
		|||
		await this.loadSettings();
 | 
			
		||||
 | 
			
		||||
		// 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) => {
 | 
			
		||||
			// Called when the user clicks the icon.
 | 
			
		||||
			new Notice('This is a notice!');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue