@tempots/dom

BindChecked() function

Binds a boolean property to the checked value of an input element. The binding is two-way.

Signature:

BindChecked: (prop: Prop<boolean>) => Renderable

Parameters

Parameter

Type

Description

prop

Prop

The boolean property to bind.

Returns: Renderable

A Renderable.