Mixins / foldkit-mixins-ui

DatePickerRenderInfo

type · packages/mixins-ui/src/datePickerView.ts:35

type DatePickerRenderInfo = Readonly<{
  trigger: SlotAttributes<Message>
  triggerContent: Html
  panel: SlotAttributes<Message> | undefined
  backdrop: SlotAttributes<Message> | undefined
  calendar: Html
  isVisible: boolean
}>

The date picker's popover-level bundles. panel and backdrop are present only while the popover shows them; calendar is the embedded calendar submodel's content and triggerContent the trigger face, both drawn by their consumer callbacks, passed through for the draw to place.