@hanzo/ui

Send

import { ready, sends } from '@hanzo/ui/chat'

No examples yet.

Types

export interface Mods {
  shiftKey?: boolean
  altKey?: boolean
  metaKey?: boolean
  ctrlKey?: boolean
  /** `KeyboardEvent.isComposing` — true while an IME candidate window is open. */
  isComposing?: boolean
  /** Legacy `KeyboardEvent.keyCode`. Read only to recognise Safari's IME. */
  keyCode?: number
}
export type Rule = 'enter' | 'mod'

Exports

readysendstype Modstype Rule