| 
									
										
										
										
											2023-01-14 03:13:35 +00:00
										 |  |  | --- | 
					
						
							|  |  |  | title: Extensions | 
					
						
							|  |  |  | pagination_prev: demos/server | 
					
						
							| 
									
										
										
										
											2023-01-15 03:36:13 +00:00
										 |  |  | pagination_next: demos/static/index | 
					
						
							| 
									
										
										
										
											2023-01-14 03:13:35 +00:00
										 |  |  | --- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import DocCardList from '@theme/DocCardList'; | 
					
						
							|  |  |  | import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Thanks to the broad availability of powerful engines, JavaScript is a popular | 
					
						
							|  |  |  | language for writing extensions for apps. Some applications like Chromium use V8 | 
					
						
							|  |  |  | while others use engines that only support ES3 JavaScript. With conservative use | 
					
						
							|  |  |  | of modern language features, SheetJS can be used in many app extensions. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Demos for common apps are included in separate pages: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <ul>{useCurrentSidebarCategory().items.map((item, index) => { | 
					
						
							|  |  |  |   const listyle = (item.customProps?.icon) ? { | 
					
						
							|  |  |  |     listStyleImage: `url("${item.customProps.icon}")` | 
					
						
							|  |  |  |   } : {}; | 
					
						
							|  |  |  |   return (<li style={listyle} {...(item.customProps?.class ? {className: item.customProps.class}: {})}> | 
					
						
							|  |  |  |     <a href={item.href}>{item.label}</a>{item.customProps?.summary && (" - " + item.customProps.summary)} | 
					
						
							|  |  |  |   </li>); | 
					
						
							|  |  |  | })}</ul> |