Constructor
# new ContainerComponent(hasSideMenu, className, position, flex, expand, fullscreen, size)
The ContainerComponent provides a versatile container for organizing content with configurable layout options. It supports flexible positioning, sizing, and integration with Ionic's menu system. This component serves as a foundational building block for creating consistent layouts across the application.
A flexible container component for layout management.
Parameters:
Name | Type | Description |
---|---|---|
hasSideMenu |
StringOrBoolean
|
Controls whether the side menu is enabled |
className |
string
|
Additional CSS classes to apply to the container |
position |
FlexPositions
|
Flex positioning of container content |
flex |
StringOrBoolean
|
Whether to use flex layout |
expand |
StringOrBoolean
|
Whether the container should expand to fill available space |
fullscreen |
StringOrBoolean
|
Whether the container should take up full viewport height |
size |
ElementSizes
|
Size preset for the container width |