GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

containerSwitcherSlide

Home > @gooddata/sdk-ui-dashboard > SectionSlidesTransformerFunction > containerSwitcherSlide

SectionSlidesTransformerFunction.containerSwitcherSlide property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

This is more complex transformer that is used to transform container item in the layout to a slide. Container item is transformed as a structured slide, but if it contains a visualization switcher, switcher is spread into multiple slides where each slide contains one visualization from each switcher.

Signature:

containerSwitcherSlide: (item: IDashboardLayoutItem<TWidget>, transform: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined) => IDashboardLayoutSection<TWidget>[] | undefined;

Remarks

If there are 2 switchers in the container, one with 3 visualizations and the other with 2 visualizations, then this transformer will create 3 slides. First slide will contain first visualizations from both switchers, second slide will contain second visualizations from both switchers and last slide will contain third visualization from the first switcher and empty item from the second switcher.

  • SectionSlidesTransformerFunction.containerSwitcherSlide property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use