MasterDetailConfig
Configuration options for the master-detail plugin
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
detailRenderer? | (row: Record<string, unknown>, rowIndex: number) => string | HTMLElement | Renderer function that returns detail content for a row |
detailHeight? | number | auto | Height of the detail row - number (pixels) or ‘auto’ (default: ‘auto’) |
expandOnRowClick? | boolean | Expand/collapse detail on row click (default: false) |
collapseOnClickOutside? | boolean | Collapse expanded detail when clicking outside (default: false) |
showExpandColumn? | boolean | Show expand/collapse column (default: true) |
animation? | ExpandCollapseAnimation | Animation style for expanding/collapsing detail rows. - false: No animation - 'slide': Slide down/up animation (default) - 'fade': Fade in/out animation |
Property Details
Section titled “Property Details”animation
Section titled “animation”Default: 'slide'
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