-
Notifications
You must be signed in to change notification settings - Fork 0
/
meter.ts
55 lines (53 loc) · 2.12 KB
/
meter.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";
/**
* MeterElementProps are the props for the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter>
*/
export interface MeterElementProps extends GlobalAttributes {
/**
* `high` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#high>
*/
high?: string | undefined;
/**
* `low` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#low>
*/
low?: string | undefined;
/**
* `max` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#max>
*/
max?: string | undefined;
/**
* `min` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#min>
*/
min?: string | undefined;
/**
* `optimum` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#optimum>
*/
optimum?: string | undefined;
/**
* `value` is an attribute of the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter#value>
*/
value?: string | undefined;
}
/**
* meter renders the [`meter`](https://developer.mozilla.org/docs/Web/HTML/Element/meter) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meter>
*/
export function meter(
props?: MeterElementProps,
...children: string[]
): string {
return renderElement("meter", props as AnyProps, false, children);
}