-
Notifications
You must be signed in to change notification settings - Fork 0
/
col.ts
57 lines (55 loc) · 2.13 KB
/
col.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
56
57
/**
* @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";
/**
* ColElementProps are the props for the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col>
*/
export interface ColElementProps extends GlobalAttributes {
/**
* `align` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#align>
* @deprecated
*/
align?: string | undefined;
/**
* `char` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#char>
* @deprecated
*/
char?: string | undefined;
/**
* `charoff` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#charoff>
* @deprecated
*/
charoff?: string | undefined;
/**
* `span` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#span>
*/
span?: string | undefined;
/**
* `valign` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#valign>
* @deprecated
*/
valign?: string | undefined;
/**
* `width` is an attribute of the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col#width>
* @deprecated
*/
width?: string | undefined;
}
/**
* col renders the [`col`](https://developer.mozilla.org/docs/Web/HTML/Element/col) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/col>
*/
export function col(props?: ColElementProps): string {
return renderElement("col", props as AnyProps, true);
}