Skip to content

ExpandCollapseAnimation

Animation style for expand/collapse operations. Subset of AnimationStyle - excludes ‘flip’ which is for position changes.

  • 'slide': Slide down/up animation for expanding/collapsing content
  • 'fade': Fade in/out animation
  • false: No animation
type ExpandCollapseAnimation = "slide" | "fade" | false
// Tree rows slide down when expanding
new TreePlugin({ expandAnimation: 'slide' });
// Row groups fade in/out
new GroupingRowsPlugin({ expandAnimation: 'fade' });
// Master-detail panels with no animation
new MasterDetailPlugin({ expandAnimation: false });
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