Skip to content

Variable: baseEmits

ts
const baseEmits: EmitFunctions<{
  click:appendInner: (e: MouseEvent) => e is MouseEvent & { [key: string]: unknown };
  click:clear: (e: MouseEvent) => e is MouseEvent & { [key: string]: unknown };
  click:control: (e: MouseEvent) => e is MouseEvent & { [key: string]: unknown };
  click:prependInner: (e: MouseEvent) => e is MouseEvent & { [key: string]: unknown };
  mousedown:control: (e: MouseEvent) => e is MouseEvent & { [key: string]: unknown };
  update:focused: (focused: boolean) => boolean;
  update:model-value: (val: any) => boolean;
  update:modelValue: (val: any) => boolean;
}> = baseEmitsInternal;

Emit definitions for the BaseField component. Contains all standard emit validators for field component events.