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

Method attrs

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

* Sets several attributes; `undefined` removes one. A key outside the * tag's attributes fails, unless `attributes` is a `Record `. * * @since 4.2.0

(
    attributes:
      & A
      & (string extends keyof A ? unknown
        : { readonly [K in Exclude<Keys<A>, SvgAttribute<Tag>>]: never })
  )

Source from the content-addressed store, hash-verified

2006 * @since 4.2.0
2007 */
2008 attrs<A extends AttributeValues<A>>(
2009 attributes:
2010 & A
2011 & (string extends keyof A ? unknown

Callers 15

Html.tst.tsFile · 0.65
entry.tsFile · 0.65
Runtime.test.tsFile · 0.65
Scene.test.tsFile · 0.65
Headless.test.tsFile · 0.65
makeNativeDefaultsFunction · 0.65
Html.test.tsFile · 0.65
HtmlServer.test.tsFile · 0.65
makeFormFunction · 0.65
choiceViewFunction · 0.65

Calls

no outgoing calls

Tested by 11

makeFormFunction · 0.52
choiceViewFunction · 0.52
hiddenFunction · 0.52
accordionAttrsFunction · 0.52
textFunction · 0.52
shownFunction · 0.52
ownFunction · 0.52
formFieldFunction · 0.52
entryFunction · 0.52
makeStandInFunction · 0.52
makeStandInFunction · 0.52