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

Method value

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

* The controlled `value` of an `input`, `textarea` or `select`. The element * always shows it, whatever the user types, until the Model changes. * * **Details** * * A browser lets a file input's value only be emptied, so the browser host * writes `""` to one and skips any other val

(
    this: VoidElement<Msg, R, E, N>,
    value: string
  )

Source from the content-addressed store, hash-verified

1238 * @since 4.2.0
1239 */
1240 value<N extends ValueNode>(
1241 this: VoidElement<Msg, R, E, N>,
1242 value: string
1243 ): this {
1244 return this.prop("value", value) as any
1245 }
1246 /**
1247 * The controlled `checked` state of a checkbox or radio button.
1248 *

Callers 15

RedactedFunction · 0.45
HashRing.tsFile · 0.45
isCyclicFunction · 0.45
securityEncodeFunction · 0.45
toBytesFunction · 0.45
Url.tsFile · 0.45
unwrapFunction · 0.45
promptSingleFunction · 0.45
EventLogRemote.tsFile · 0.45
EventLog.tsFile · 0.45
encodeIdentityStringFunction · 0.45
cachedByIdentityFunction · 0.45

Calls 1

propMethod · 0.65

Tested by

no test coverage detected