BcTimeCard
BcTimeCard Component
The BcTimeCard component provides an interactive time selection card. Users can click on the card to open a time picker, select a time, and update the value accordingly. The component is useful in time-based input scenarios like scheduling or event planning.
Base functionality is inherited from BcBaseStyledComponent and BcCard .
Parameters
Value
TimeOnly
Represents the currently selected time in the BcTimeCard.
ValueChanged
Action < TimeOnly >
An event that is triggered when the user selects a new time.
Title
string?
Defines the main title displayed in the BcTimeCard.
SubTitle
string?
Defines the subtitle that appears below the main title.
CardType
BcCardType
Specifies the type of the card, such as Default, Elevated, etc.
StatusColor
BcStatusColor
Defines the status color of the card, indicating different states or statuses.
Methods
Updates the selected time value inside the card.
Saves the selected time and closes the context menu.
Sample
This is a TimeCard.
Clicking on this Card allows you to set a Time.