Skip to main content
On this pageConstants

Ui/Calendar/test

Constants

FocusGrid

constsource
/**
 * Focuses the calendar grid container. Parent components like DatePicker
 * dispatch this after opening to hand focus to the grid's keyboard layer.
 */
const FocusGrid: LayeredCommandDefinitionWithArgs<"Calendar/FocusGrid", {
  id: String
}, {
  _tag: "CompletedFocusGrid"
}> | DefinitionWithArgsNameKeyed<"Calendar/FocusGrid", {
  id: String
}, Effect<{
  _tag: "CompletedFocusGrid"
}, never, Handler<"Calendar/FocusGrid", {
  id: string
}, {
  _tag: "CompletedFocusGrid"
}>>> | DefinitionWithArgs<"Calendar/FocusGrid", {
  id: String
}, Pick<{
  id: string
}, "id">, Effect<{
  _tag: "CompletedFocusGrid"
}, never, Handler<"Calendar/FocusGrid", {
  id: string
}, {
  _tag: "CompletedFocusGrid"
}>>> & Readonly<{
  layer: Layer<Handler<"Calendar/FocusGrid", {
    id: string
  }, {
    _tag: "CompletedFocusGrid"
  }>, never, never>
}> & Readonly<{
  toLayer: ToLayer<"Calendar/FocusGrid", {
    id: string
  }, {
    _tag: "CompletedFocusGrid"
  }>
}>