Components
Dropdown
Dropdowns are used to display a list of user-selectable actions or options
Component Status Details
Status component contains a list of checks and completeness that has been tested and owned by each component
Dropdowns are used to display a list of user-selectable actions or options
Usage
The following is code to implement Dropdown component.
data class DropdownItem(override val id: Int,override val label: String,override val iconLeft: ImageVector? = null,override val iconRight: ImageVector? = null,override val divider: Boolean = false,override val enabled: Boolean = true) : ILgnDropdownMenuItem
Attributes
| Parameters | Type | Description |
|---|---|---|
| data | List | Add List Data Dropdown |
| expanded | Boolean | Set Whether The Dropdown is Expand or Not |
| onDismissRequest | Function | Set Action When The Dropdown is Dismiss |
| offset | DpOffset | Set Size Offset of Dropdown |
| scrollstate | ScrollState | Set Scroll State of Dropdown |
| properties | PopupProperties | Set Pop Up Properties of Dropdown |
| onClickItem | Function | Set Action When The Item of Dropdown is Clicked |
| button | Composable | Set Button For Open and Close Dropdown |