emitBinding
Writes a typed value to the render state store if the prop has a binding path.
import { emitBinding } from '@threadplane/chat';Declaration · overload 1
export declare function emitBinding(host: RenderHost, bindings: Record<string, string> | undefined, prop: string, value: unknown): void;Parameters
host· requiredRenderHostbindings· requiredRecord<string, string> | undefinedprop· requiredstringvalue· requiredunknown
Returns
void