Classes
- ATagAttrs
- ATag
- BrTag
- FooterTag
- FormTagAttrs
- FormTag
- HeaderTag
- InputTagAttrs
- InputTag
- LiTagAttrs
- LiTag
- PTag
- SectionTagAttrs
- SectionTag
- Tag
- UlTag
Typedefs
- ATag ⇐
Tag
- BrTag ⇐
Tag
- FooterTag ⇐
Tag
- FormTag ⇐
Tag
- HeaderTag ⇐
Tag
- InputTag ⇐
Tag
- LabelTag ⇐
Tag
- LiTag ⇐
Tag
- PTag ⇐
Tag
- SectionTag ⇐
Tag
- Tag
- UlTag ⇐
Tag
ATagAttrs
new ATagAttrs(href, method)
Param | Type | Description |
---|---|---|
href | string |
|
method | 'GET' | 'POST' |
default 'GET' |
ATag
Kind: global class
new ATag(children, attrs)
Param | Type |
---|---|
children | Array.<string> |
attrs | ATagAttrs |
ATag.getAttributes(node)
Kind: static method of ATag
Param | Type |
---|---|
node | HTMLAnchorElement |
BrTag
FooterTag
new FooterTag(children)
Instantiates a new FooterTag
Param | Type |
---|---|
children | Array.<string> |
FormTagAttrs
new FormTagAttrs(action, method, header, footer, completionStatusShow, completionStatusInHeader, confirmationNeeded)
Instantiates a new FormTagAttrs
Param | Type | Description |
---|---|---|
action | string |
the path where the form data is sent to after the user finishes the form |
method | string |
the method use to send the form data |
header | string | undefined |
the global form header which can be overwritten at the SectionTag level |
footer | string | undefined |
the global form footer which can be overwritten at the SectionTag level |
completionStatusShow | boolean | undefined |
whether to display the progress the user made in a form |
completionStatusInHeader | boolean | undefined |
whether to display that progress in header (if false it will be displayed in body) |
confirmationNeeded | boolean | undefined |
whether the user will receive a form confirmation at the end of the form |
FormTag
new FormTag(children, attrs)
Instantiates a new FormTag. It is the equivalent of the HTML