LoadingSize
Since v1.7.0
Loading indicator size variant.
'large': 48x48px max - used for grid-level loading overlay (grid.loading = true)'small': Follows row height - used for row/cell loading states
type LoadingSize = "large" | "small"Example
Section titled “Example”// Custom loading renderer adapting to sizeconst myLoader: LoadingRenderer = (ctx) => { if (ctx.size === 'large') { // Full overlay spinner return '<div class="spinner-lg"></div>'; } // Inline row/cell spinner return '<span class="spinner-sm"></span>';};See Also
Section titled “See Also”LoadingRendererfor custom loading rendererLoadingContextfor context passed to renderers
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt