hyperscript overview
Hyperscript for @typed/template.
Added in v1.0.0
Table of contents
- utils
- HyperscriptForTagName (type alias)
- a
- abbr
- address
- area
- article
- aside
- audio
- b
- base
- bdi
- bdo
- blockquote
- body
- br
- button
- canvas
- caption
- cite
- code
- col
- colgroup
- createHyperscript
- data
- datalist
- dd
- del
- details
- dfn
- dialog
- div
- dl
- dt
- em
- embed
- fieldset
- figcaption
- figure
- footer
- form
- h
- h1
- h2
- h3
- h4
- h5
- h6
- head
- header
- hgroup
- hr
- html
- i
- iframe
- img
- input
- ins
- kbd
- label
- legend
- li
- link
- main
- map
- mark
- meta
- meter
- nav
- noscript
- object
- ol
- optgroup
- option
- output
- p
- param
- picture
- pre
- progress
- q
- rp
- rt
- ruby
- s
- samp
- script
- section
- select
- small
- source
- span
- strong
- style
- sub
- summary
- sup
- table
- tbody
- td
- template
- textarea
- tfoot
- th
- thead
- time
- title
- tr
- track
- u
- ul
- video
- wbr
utils
HyperscriptForTagName (type alias)
Signature
export type HyperscriptForTagName<TagName extends keyof TypedPropertiesMap> = <
const Props extends TypedPropertiesMap[TagName],
const Children extends ReadonlyArray<Renderable<any, any>>
>(
properties: Props,
...children: Children
) => Fx<
RenderEvent,
Placeholder.Error<Props[keyof Props] | Children[number]>,
Scope.Scope | RenderTemplate | RenderQueue | Placeholder.Context<Props[keyof Props] | Children[number]>
>
Added in v1.0.0
a
Signature
export declare const a: HyperscriptForTagName<"a">
Added in v1.0.0
abbr
Signature
export declare const abbr: HyperscriptForTagName<"abbr">
Added in v1.0.0
address
Signature
export declare const address: HyperscriptForTagName<"address">
Added in v1.0.0
area
Signature
export declare const area: HyperscriptForTagName<"area">
Added in v1.0.0
article
Signature
export declare const article: HyperscriptForTagName<"article">
Added in v1.0.0
aside
Signature
export declare const aside: HyperscriptForTagName<"aside">
Added in v1.0.0
audio
Signature
export declare const audio: HyperscriptForTagName<"audio">
Added in v1.0.0
b
Signature
export declare const b: HyperscriptForTagName<"b">
Added in v1.0.0
base
Signature
export declare const base: HyperscriptForTagName<"base">
Added in v1.0.0
bdi
Signature
export declare const bdi: HyperscriptForTagName<"bdi">
Added in v1.0.0
bdo
Signature
export declare const bdo: HyperscriptForTagName<"bdo">
Added in v1.0.0
blockquote
Signature
export declare const blockquote: HyperscriptForTagName<"blockquote">
Added in v1.0.0
body
Signature
export declare const body: HyperscriptForTagName<"body">
Added in v1.0.0
br
Signature
export declare const br: HyperscriptForTagName<"br">
Added in v1.0.0
button
Signature
export declare const button: HyperscriptForTagName<"button">
Added in v1.0.0
canvas
Signature
export declare const canvas: HyperscriptForTagName<"canvas">
Added in v1.0.0
caption
Signature
export declare const caption: HyperscriptForTagName<"caption">
Added in v1.0.0
cite
Signature
export declare const cite: HyperscriptForTagName<"cite">
Added in v1.0.0
code
Signature
export declare const code: HyperscriptForTagName<"code">
Added in v1.0.0
col
Signature
export declare const col: HyperscriptForTagName<"col">
Added in v1.0.0
colgroup
Signature
export declare const colgroup: HyperscriptForTagName<"colgroup">
Added in v1.0.0
createHyperscript
Signature
export declare function createHyperscript<const TagName extends keyof TypedPropertiesMap>(
tagName: TagName
): HyperscriptForTagName<TagName>
Added in v1.0.0
data
Signature
export declare const data: HyperscriptForTagName<"data">
Added in v1.0.0
datalist
Signature
export declare const datalist: HyperscriptForTagName<"datalist">
Added in v1.0.0
dd
Signature
export declare const dd: HyperscriptForTagName<"dd">
Added in v1.0.0
del
Signature
export declare const del: HyperscriptForTagName<"del">
Added in v1.0.0
details
Signature
export declare const details: HyperscriptForTagName<"details">
Added in v1.0.0
dfn
Signature
export declare const dfn: HyperscriptForTagName<"dfn">
Added in v1.0.0
dialog
Signature
export declare const dialog: HyperscriptForTagName<"dialog">
Added in v1.0.0
div
Signature
export declare const div: HyperscriptForTagName<"div">
Added in v1.0.0
dl
Signature
export declare const dl: HyperscriptForTagName<"dl">
Added in v1.0.0
dt
Signature
export declare const dt: HyperscriptForTagName<"dt">
Added in v1.0.0
em
Signature
export declare const em: HyperscriptForTagName<"em">
Added in v1.0.0
embed
Signature
export declare const embed: HyperscriptForTagName<"embed">
Added in v1.0.0
fieldset
Signature
export declare const fieldset: HyperscriptForTagName<"fieldset">
Added in v1.0.0
figcaption
Signature
export declare const figcaption: HyperscriptForTagName<"figcaption">
Added in v1.0.0
figure
Signature
export declare const figure: HyperscriptForTagName<"figure">
Added in v1.0.0
footer
Signature
export declare const footer: HyperscriptForTagName<"footer">
Added in v1.0.0
form
Signature
export declare const form: HyperscriptForTagName<"form">
Added in v1.0.0
h
Signature
export declare function h<
const TagName extends keyof TypedPropertiesMap,
const Props extends TypedPropertiesMap[TagName],
const Children extends ReadonlyArray<Renderable<any, any>>
>(
tagName: TagName,
properties: Props,
...children: Children
): Fx<
RenderEvent,
Placeholder.Error<Props[keyof Props] | Children[number]>,
Scope.Scope | RenderTemplate | RenderQueue | Placeholder.Context<Props[keyof Props] | Children[number]>
>
Added in v1.0.0
h1
Signature
export declare const h1: HyperscriptForTagName<"h1">
Added in v1.0.0
h2
Signature
export declare const h2: HyperscriptForTagName<"h2">
Added in v1.0.0
h3
Signature
export declare const h3: HyperscriptForTagName<"h3">
Added in v1.0.0
h4
Signature
export declare const h4: HyperscriptForTagName<"h4">
Added in v1.0.0
h5
Signature
export declare const h5: HyperscriptForTagName<"h5">
Added in v1.0.0
h6
Signature
export declare const h6: HyperscriptForTagName<"h6">
Added in v1.0.0
head
Signature
export declare const head: HyperscriptForTagName<"head">
Added in v1.0.0
header
Signature
export declare const header: HyperscriptForTagName<"header">
Added in v1.0.0
hgroup
Signature
export declare const hgroup: HyperscriptForTagName<"hgroup">
Added in v1.0.0
hr
Signature
export declare const hr: HyperscriptForTagName<"hr">
Added in v1.0.0
html
Signature
export declare const html: HyperscriptForTagName<"html">
Added in v1.0.0
i
Signature
export declare const i: HyperscriptForTagName<"i">
Added in v1.0.0
iframe
Signature
export declare const iframe: HyperscriptForTagName<"iframe">
Added in v1.0.0
img
Signature
export declare const img: HyperscriptForTagName<"img">
Added in v1.0.0
input
Signature
export declare const input: HyperscriptForTagName<"input">
Added in v1.0.0
ins
Signature
export declare const ins: HyperscriptForTagName<"ins">
Added in v1.0.0
kbd
Signature
export declare const kbd: HyperscriptForTagName<"kbd">
Added in v1.0.0
label
Signature
export declare const label: HyperscriptForTagName<"label">
Added in v1.0.0
legend
Signature
export declare const legend: HyperscriptForTagName<"legend">
Added in v1.0.0
li
Signature
export declare const li: HyperscriptForTagName<"li">
Added in v1.0.0
link
Signature
export declare const link: HyperscriptForTagName<"link">
Added in v1.0.0
main
Signature
export declare const main: HyperscriptForTagName<"main">
Added in v1.0.0
map
Signature
export declare const map: HyperscriptForTagName<"map">
Added in v1.0.0
mark
Signature
export declare const mark: HyperscriptForTagName<"mark">
Added in v1.0.0
meta
Signature
export declare const meta: HyperscriptForTagName<"meta">
Added in v1.0.0
meter
Signature
export declare const meter: HyperscriptForTagName<"meter">
Added in v1.0.0
nav
Signature
export declare const nav: HyperscriptForTagName<"nav">
Added in v1.0.0
noscript
Signature
export declare const noscript: HyperscriptForTagName<"noscript">
Added in v1.0.0
object
Signature
export declare const object: HyperscriptForTagName<"object">
Added in v1.0.0
ol
Signature
export declare const ol: HyperscriptForTagName<"ol">
Added in v1.0.0
optgroup
Signature
export declare const optgroup: HyperscriptForTagName<"optgroup">
Added in v1.0.0
option
Signature
export declare const option: HyperscriptForTagName<"option">
Added in v1.0.0
output
Signature
export declare const output: HyperscriptForTagName<"output">
Added in v1.0.0
p
Signature
export declare const p: HyperscriptForTagName<"p">
Added in v1.0.0
param
Signature
export declare const param: HyperscriptForTagName<"param">
Added in v1.0.0
picture
Signature
export declare const picture: HyperscriptForTagName<"picture">
Added in v1.0.0
pre
Signature
export declare const pre: HyperscriptForTagName<"pre">
Added in v1.0.0
progress
Signature
export declare const progress: HyperscriptForTagName<"progress">
Added in v1.0.0
q
Signature
export declare const q: HyperscriptForTagName<"q">
Added in v1.0.0
rp
Signature
export declare const rp: HyperscriptForTagName<"rp">
Added in v1.0.0
rt
Signature
export declare const rt: HyperscriptForTagName<"rt">
Added in v1.0.0
ruby
Signature
export declare const ruby: HyperscriptForTagName<"ruby">
Added in v1.0.0
s
Signature
export declare const s: HyperscriptForTagName<"s">
Added in v1.0.0
samp
Signature
export declare const samp: HyperscriptForTagName<"samp">
Added in v1.0.0
script
Signature
export declare const script: HyperscriptForTagName<"script">
Added in v1.0.0
section
Signature
export declare const section: HyperscriptForTagName<"section">
Added in v1.0.0
select
Signature
export declare const select: HyperscriptForTagName<"select">
Added in v1.0.0
small
Signature
export declare const small: HyperscriptForTagName<"small">
Added in v1.0.0
source
Signature
export declare const source: HyperscriptForTagName<"source">
Added in v1.0.0
span
Signature
export declare const span: HyperscriptForTagName<"span">
Added in v1.0.0
strong
Signature
export declare const strong: HyperscriptForTagName<"strong">
Added in v1.0.0
style
Signature
export declare const style: HyperscriptForTagName<"style">
Added in v1.0.0
sub
Signature
export declare const sub: HyperscriptForTagName<"sub">
Added in v1.0.0
summary
Signature
export declare const summary: HyperscriptForTagName<"summary">
Added in v1.0.0
sup
Signature
export declare const sup: HyperscriptForTagName<"sup">
Added in v1.0.0
table
Signature
export declare const table: HyperscriptForTagName<"table">
Added in v1.0.0
tbody
Signature
export declare const tbody: HyperscriptForTagName<"tbody">
Added in v1.0.0
td
Signature
export declare const td: HyperscriptForTagName<"td">
Added in v1.0.0
template
Signature
export declare const template: HyperscriptForTagName<"template">
Added in v1.0.0
textarea
Signature
export declare const textarea: HyperscriptForTagName<"textarea">
Added in v1.0.0
tfoot
Signature
export declare const tfoot: HyperscriptForTagName<"tfoot">
Added in v1.0.0
th
Signature
export declare const th: HyperscriptForTagName<"th">
Added in v1.0.0
thead
Signature
export declare const thead: HyperscriptForTagName<"thead">
Added in v1.0.0
time
Signature
export declare const time: HyperscriptForTagName<"time">
Added in v1.0.0
title
Signature
export declare const title: HyperscriptForTagName<"title">
Added in v1.0.0
tr
Signature
export declare const tr: HyperscriptForTagName<"tr">
Added in v1.0.0
track
Signature
export declare const track: HyperscriptForTagName<"track">
Added in v1.0.0
u
Signature
export declare const u: HyperscriptForTagName<"u">
Added in v1.0.0
ul
Signature
export declare const ul: HyperscriptForTagName<"ul">
Added in v1.0.0
video
Signature
export declare const video: HyperscriptForTagName<"video">
Added in v1.0.0
wbr
Signature
export declare const wbr: HyperscriptForTagName<"wbr">
Added in v1.0.0