Skip to main content
Home

@fartlabs/htx@0.0.13
Built and signed on GitHub Actions

latest
Works with
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score94%
Downloads2/wk
Published2 months ago (0.0.13)

An HTML rendering library in JSX.

interface GlobalAttributes

GlobalAttributes are the global attributes for HTML elements.

Properties

optional
children:
string
| string[]
| undefined

The children of the element.

optional
accesskey: string | undefined
optional
anchor: string | undefined
optional
autocapitalize: string | undefined
optional
autocorrect: string | undefined
optional
autofocus:
string
| boolean
| undefined
optional
class: string | undefined
optional
contenteditable: string | undefined
optional
dir: string | undefined
optional
draggable: string | undefined
optional
enterkeyhint: string | undefined
optional
exportparts: string | undefined
optional
hidden:
string
| boolean
| undefined
optional
id: string | undefined
optional
inert:
string
| boolean
| undefined
optional
inputmode: string | undefined
optional
is: string | undefined
optional
lang: string | undefined
optional
nonce: string | undefined
optional
part: string | undefined
optional
popover: string | undefined
optional
slot: string | undefined
optional
spellcheck: string | undefined
optional
style: string | undefined
optional
tabindex: string | undefined
optional
title: string | undefined
optional
translate: string | undefined
optional
virtualkeyboardpolicy: string | undefined
optional
writingsuggestions: string | undefined
optional
alignment-baseline: string | undefined
optional
baseline-shift: string | undefined
deprecated
optional
clip: string | undefined
optional
clip-path: string | undefined
optional
clip-rule: string | undefined
optional
color: string | undefined
optional
color-interpolation: string | undefined
optional
cursor: string | undefined
optional
direction: string | undefined
optional
display: string | undefined
optional
dominant-baseline: string | undefined
optional
fill-opacity: string | undefined
optional
fill-rule: string | undefined
optional
filter: string | undefined
optional
flood-color: string | undefined
optional
flood-opacity: string | undefined
optional
font-family: string | undefined
optional
font-size: string | undefined
optional
font-size-adjust: string | undefined
deprecated
optional
font-stretch: string | undefined
optional
font-style: string | undefined
optional
font-variant: string | undefined
optional
font-weight: string | undefined
optional
font-width: string | undefined
deprecated
optional
glyph-orientation-horizontal: string | undefined
deprecated
optional
glyph-orientation-vertical: string | undefined
optional
image-rendering: string | undefined
optional
letter-spacing: string | undefined
optional
lighting-color: string | undefined
optional
marker-end: string | undefined
optional
marker-mid: string | undefined
optional
marker-start: string | undefined
optional
mask: string | undefined
optional
opacity: string | undefined
optional
overflow: string | undefined
optional
paint-order: string | undefined
optional
pointer-events: string | undefined
optional
requiredExtensions: string | undefined
optional
shape-rendering: string | undefined
optional
stop-color: string | undefined
optional
stop-opacity: string | undefined
optional
stroke: string | undefined
optional
stroke-dasharray: string | undefined
optional
stroke-dashoffset: string | undefined
optional
stroke-linecap: string | undefined
optional
stroke-linejoin: string | undefined
optional
stroke-miterlimit: string | undefined
optional
stroke-opacity: string | undefined
optional
stroke-width: string | undefined
optional
text-anchor: string | undefined
optional
text-decoration: string | undefined
optional
text-overflow: string | undefined
optional
text-rendering: string | undefined
optional
transform: string | undefined
optional
transform-origin: string | undefined
optional
unicode-bidi: string | undefined
optional
vector-effect: string | undefined
optional
visibility: string | undefined
optional
white-space: string | undefined
optional
word-spacing: string | undefined
optional
writing-mode: string | undefined
optional
displaystyle: string | undefined
optional
href: string | undefined
deprecated
optional
mathbackground: string | undefined
deprecated
optional
mathcolor: string | undefined
deprecated
optional
mathsize: string | undefined
optional
scriptlevel: string | undefined
optional
onafterscriptexecute: string | undefined

The onafterscriptexecute event handler occurs when the user interacts with the element.

optional
onanimationcancel: string | undefined

The onanimationcancel event handler occurs when the user interacts with the element.

optional
onanimationend: string | undefined

The onanimationend event handler occurs when the user interacts with the element.

optional
onanimationiteration: string | undefined

The onanimationiteration event handler occurs when the user interacts with the element.

optional
onanimationstart: string | undefined

The onanimationstart event handler occurs when the user interacts with the element.

optional
onauxclick: string | undefined

The onauxclick event handler occurs when the user interacts with the element.

optional
onbeforeinput: string | undefined

The onbeforeinput event handler occurs when the user interacts with the element.

optional
onbeforematch: string | undefined

The onbeforematch event handler occurs when the user interacts with the element.

optional
onbeforescriptexecute: string | undefined

The onbeforescriptexecute event handler occurs when the user interacts with the element.

optional
onbeforexrselect: string | undefined

The onbeforexrselect event handler occurs when the user interacts with the element.

optional
onblur: string | undefined

The onblur event handler occurs when the user interacts with the element.

optional
onclick: string | undefined

The onclick event handler occurs when the user interacts with the element.

optional
oncompositionend: string | undefined

The oncompositionend event handler occurs when the user interacts with the element.

optional
oncompositionstart: string | undefined

The oncompositionstart event handler occurs when the user interacts with the element.

optional
oncompositionupdate: string | undefined

The oncompositionupdate event handler occurs when the user interacts with the element.

The oncontentvisibilityautostatechange event handler occurs when the user interacts with the element.

optional
oncontextmenu: string | undefined

The oncontextmenu event handler occurs when the user interacts with the element.

optional
oncopy: string | undefined

The oncopy event handler occurs when the user interacts with the element.

optional
oncut: string | undefined

The oncut event handler occurs when the user interacts with the element.

optional
ondblclick: string | undefined

The ondblclick event handler occurs when the user interacts with the element.

optional
ondomactivate: string | undefined

The ondomactivate event handler occurs when the user interacts with the element.

optional
ondommousescroll: string | undefined

The ondommousescroll event handler occurs when the user interacts with the element.

optional
onfocus: string | undefined

The onfocus event handler occurs when the user interacts with the element.

optional
onfocusin: string | undefined

The onfocusin event handler occurs when the user interacts with the element.

optional
onfocusout: string | undefined

The onfocusout event handler occurs when the user interacts with the element.

optional
onfullscreenchange: string | undefined

The onfullscreenchange event handler occurs when the user interacts with the element.

optional
onfullscreenerror: string | undefined

The onfullscreenerror event handler occurs when the user interacts with the element.

optional
ongesturechange: string | undefined

The ongesturechange event handler occurs when the user interacts with the element.

optional
ongestureend: string | undefined

The ongestureend event handler occurs when the user interacts with the element.

optional
ongesturestart: string | undefined

The ongesturestart event handler occurs when the user interacts with the element.

optional
ongotpointercapture: string | undefined

The ongotpointercapture event handler occurs when the user interacts with the element.

optional
oninput: string | undefined

The oninput event handler occurs when the user interacts with the element.

optional
onkeydown: string | undefined

The onkeydown event handler occurs when the user interacts with the element.

optional
onkeypress: string | undefined

The onkeypress event handler occurs when the user interacts with the element.

optional
onkeyup: string | undefined

The onkeyup event handler occurs when the user interacts with the element.

optional
onlostpointercapture: string | undefined

The onlostpointercapture event handler occurs when the user interacts with the element.

optional
onmousedown: string | undefined

The onmousedown event handler occurs when the user interacts with the element.

optional
onmouseenter: string | undefined

The onmouseenter event handler occurs when the user interacts with the element.

optional
onmouseleave: string | undefined

The onmouseleave event handler occurs when the user interacts with the element.

optional
onmousemove: string | undefined

The onmousemove event handler occurs when the user interacts with the element.

optional
onmouseout: string | undefined

The onmouseout event handler occurs when the user interacts with the element.

optional
onmouseover: string | undefined

The onmouseover event handler occurs when the user interacts with the element.

optional
onmouseup: string | undefined

The onmouseup event handler occurs when the user interacts with the element.

optional
onmousewheel: string | undefined

The onmousewheel event handler occurs when the user interacts with the element.

optional
onmozmousepixelscroll: string | undefined

The onmozmousepixelscroll event handler occurs when the user interacts with the element.

optional
onpaste: string | undefined

The onpaste event handler occurs when the user interacts with the element.

optional
onpointercancel: string | undefined

The onpointercancel event handler occurs when the user interacts with the element.

optional
onpointerdown: string | undefined

The onpointerdown event handler occurs when the user interacts with the element.

optional
onpointerenter: string | undefined

The onpointerenter event handler occurs when the user interacts with the element.

optional
onpointerleave: string | undefined

The onpointerleave event handler occurs when the user interacts with the element.

optional
onpointermove: string | undefined

The onpointermove event handler occurs when the user interacts with the element.

optional
onpointerout: string | undefined

The onpointerout event handler occurs when the user interacts with the element.

optional
onpointerover: string | undefined

The onpointerover event handler occurs when the user interacts with the element.

optional
onpointerrawupdate: string | undefined

The onpointerrawupdate event handler occurs when the user interacts with the element.

optional
onpointerup: string | undefined

The onpointerup event handler occurs when the user interacts with the element.

optional
onscroll: string | undefined

The onscroll event handler occurs when the user interacts with the element.

optional
onscrollend: string | undefined

The onscrollend event handler occurs when the user interacts with the element.

optional
onscrollsnapchange: string | undefined

The onscrollsnapchange event handler occurs when the user interacts with the element.

optional
onscrollsnapchanging: string | undefined

The onscrollsnapchanging event handler occurs when the user interacts with the element.

optional
onsecuritypolicyviolation: string | undefined

The onsecuritypolicyviolation event handler occurs when the user interacts with the element.

optional
ontouchcancel: string | undefined

The ontouchcancel event handler occurs when the user interacts with the element.

optional
ontouchend: string | undefined

The ontouchend event handler occurs when the user interacts with the element.

optional
ontouchmove: string | undefined

The ontouchmove event handler occurs when the user interacts with the element.

optional
ontouchstart: string | undefined

The ontouchstart event handler occurs when the user interacts with the element.

optional
ontransitioncancel: string | undefined

The ontransitioncancel event handler occurs when the user interacts with the element.

optional
ontransitionend: string | undefined

The ontransitionend event handler occurs when the user interacts with the element.

optional
ontransitionrun: string | undefined

The ontransitionrun event handler occurs when the user interacts with the element.

optional
ontransitionstart: string | undefined

The ontransitionstart event handler occurs when the user interacts with the element.

optional
onwebkitmouseforcechanged: string | undefined

The onwebkitmouseforcechanged event handler occurs when the user interacts with the element.

optional
onwebkitmouseforcedown: string | undefined

The onwebkitmouseforcedown event handler occurs when the user interacts with the element.

optional
onwebkitmouseforceup: string | undefined

The onwebkitmouseforceup event handler occurs when the user interacts with the element.

The onwebkitmouseforcewillbegin event handler occurs when the user interacts with the element.

optional
onwheel: string | undefined

The onwheel event handler occurs when the user interacts with the element.

See

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";
or

Import directly with a jsr specifier

import { type GlobalAttributes } from "jsr:@fartlabs/htx/global-attributes";

Add Package

pnpm i jsr:@fartlabs/htx
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";

Add Package

yarn add jsr:@fartlabs/htx
or (using Yarn 4.8 or older)
yarn dlx jsr add @fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";

Add Package

vlt install jsr:@fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";

Add Package

npx jsr add @fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";

Add Package

bunx jsr add @fartlabs/htx

Import symbol

import { type GlobalAttributes } from "@fartlabs/htx/global-attributes";