Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Flip Container

Matt Bates edited this page Jul 22, 2016 · 3 revisions

Container that displays 2 children and plays a flip animation to transition between them when the container is clicked / touched.

Supports only 2 child items. Default width and height are 250px, you can override this by adding a custom style: .mw-flip.flip-container, .mw-flip.front, .mw-flip.back

Attributes

"attributes": {
  "isCollapsible": false,
  "isCollapsed": false,
  "collapseGroup": "my group",
}
Key Value Description
isCollapsible true or false Set to true to enable collapse / expand toggle behavior, overrides the global setting.
isCollapsed true or false Set to true to display the container initially collapsed, overrides the global setting.
collapseGroup string Name of the group this container belongs too, all containers in the same group share collapse / expanded state.

Examples

Flow: https://flow.manywho.com/c5a50df2-f24b-4342-9fbd-1c91747ac0cf/play/default/?flow-id=40e62a31-9c4b-4f70-b072-d49f28b83319

Package: Download