mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	basic support for custom widgets
This commit is contained in:
		| @@ -36,6 +36,14 @@ export default class Component { | ||||
|         return this; | ||||
|     } | ||||
|  | ||||
|     addChildren(components = []) { | ||||
|         for (const component of components) { | ||||
|             this.child(component); | ||||
|         } | ||||
|  | ||||
|         return this; | ||||
|     } | ||||
|  | ||||
|     /** @return {Promise} */ | ||||
|     handleEvent(name, data) { | ||||
|         return Promise.all([ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user