Type Alias DomFormOptions<T>

DomFormOptions<T>: EventOptions & {
    emitInitialValue: boolean;
    upstreamFilter?: ((name: string, value: any) => string);
    upstreamSource?: Reactive<T>;
    when: "changed" | "changing";
}

Type Parameters

  • T extends Record<string, any>

Type declaration

  • emitInitialValue: boolean

    If true, the current value will be emitted even though it wasn't triggered by an event. Default: false

  • OptionalupstreamFilter?: ((name: string, value: any) => string)
      • (name, value): string
      • Parameters

        • name: string
        • value: any

        Returns string

  • OptionalupstreamSource?: Reactive<T>
  • when: "changed" | "changing"

    Respond to when value has changed or when value is changing Default: changed