UNPKG

rimmel

Version:

A Stream-Oriented UI library for the Rx.Observable Universe

14 lines 731 B
import type { Sink, ExplicitSink } from "../types/sink"; export declare const CHECKED_SINK_TAG = "checked"; export declare const CheckedSink: Sink<HTMLInputElement>; /** * A specialised sink for the "checked" HTML attribute * @param source A present or future boolean value * @returns RMLTemplateExpression A template expression for the "checked" DOM attribute * @example <input type="checkbox" checked="${booleanValue}"> * @example <input type="checkbox" checked="${booleanPromise}"> * @example <input type="checkbox" checked="${booleanObservable}"> * @example <input type="checkbox" checked="${Checked(booleanPromise)}"> */ export declare const Checked: ExplicitSink<'checked'>; //# sourceMappingURL=checked-sink.d.ts.map