MCPcopy Create free account
hub / github.com/Effect-TS/effect / checked

Method checked

packages/effect/src/ui/html/Html.ts:1251–1256  ·  view source on GitHub ↗

* The controlled `checked` state of a checkbox or radio button. * * @since 4.2.0

(
    this: VoidElement<Msg, R, E, HTMLInputElement>,
    checked: boolean
  )

Source from the content-addressed store, hash-verified

1249 * @since 4.2.0
1250 */
1251 checked(
1252 this: VoidElement<Msg, R, E, HTMLInputElement>,
1253 checked: boolean
1254 ): this {
1255 return this.prop("checked", checked) as any
1256 }
1257 /**
1258 * The controlled `selected` state of an `option`.
1259 *

Callers 15

Html.tst.tsFile · 0.80
makeFormFunction · 0.80
choiceViewFunction · 0.80
todos.tsFile · 0.80
settings.tsFile · 0.80
Markdown.tsFile · 0.80
walkFunction · 0.80
planClickDefaultsFunction · 0.80
inputPayloadFunction · 0.80

Calls 1

propMethod · 0.65

Tested by 2

makeFormFunction · 0.64
choiceViewFunction · 0.64