This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
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": {
"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. |
Package: Download
...