Classes
- ATagAttrs
- ATag
- BrTag
- CardTagAttrs
- CardTag
- CardActionTagAttrs
- CardActionTag
- CardActionsTag
- CardAvatarTagAttrs
- CardAvatarTag
- CardContentTagAttrs
- CardContentTag
- CardHeaderTagAttrs
- CardHeaderTag
- CardMediaTagAttrs
- CardMediaTag
- FooterTag
- FormTagAttrs
- FormTag
- HeaderTag
- ImgTagAttrs
- ImgTag
- InputTagAttrs
- InputTag
- LiTagAttrs
- LiTag
- LoginTagAttrs
- LoginTag
- LogoutTagAttrs
- LogoutTag
- PTag
- SectionTagAttrs
- SectionTag
- SnackbarTagAttrs
- SnackbarTag
- Tag
- TextareaTag
- UlTag
- VideoTagAttrs
- VideoTag
Typedefs
- ATag ⇐
Tag
- BrTag ⇐
Tag
- CardTag ⇐
Tag
- CardActionTag ⇐
Tag
- CardActionsTag ⇐
Tag
- CardAvatarTag ⇐
Tag
- CardContentTag ⇐
Tag
- CardHeaderTag ⇐
Tag
- CardMediaTag ⇐
Tag
- FooterTag ⇐
Tag
- FormTag ⇐
Tag
- HeaderTag ⇐
Tag
- ImgTag ⇐
Tag
- InputTag ⇐
Tag
- LabelTag ⇐
Tag
- LiTag ⇐
Tag
- LoginTag ⇐
Tag
- LogoutTag ⇐
Tag
- PTag ⇐
Tag
- SectionTag ⇐
Tag
- SnackbarTag ⇐
Tag
- Tag
- TextareaTag ⇐
Tag
- UlTag ⇐
Tag
- VideoTag ⇐
Tag
ATagAttrs
Kind: global class
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
Kind: global class
CardTagAttrs
Kind: global class
new CardTagAttrs([action], [method])
Param |
Type |
Default |
Description |
[action] |
string |
|
Optional path to call when the card is selected |
[method] |
string |
""GET"" |
Optional method associated with the action |
CardTag
Kind: global class
Properties
Name |
Type |
children |
Array.<(CardHeaderTag|CardMediaTag|CardContentTag|CardActionsTag)> |
new CardTag(attrs)
CardTag.getAttributes(node) ⇒ CardTagAttrs
Kind: static method of CardTag
Param |
Type |
node |
HTMLElement |
CardActionTagAttrs
Kind: global class
new CardActionTagAttrs(name, path, method)
Param |
Type |
Description |
name |
string |
name of the card action button |
path |
string |
path for the callback when the card action is selected |
method |
string |
to use for the callback |
CardActionTag
Kind: global class
new CardActionTag(children, attrs)
Kind: static method of CardActionTag
Param |
Type |
node |
HTMLElement |
CardActionsTag
Kind: global class
new CardActionsTag(children)
CardAvatarTagAttrs
Kind: global class
new CardAvatarTagAttrs([src], [name])
Param |
Type |
Description |
[src] |
string |
public url of the avatar png image |
[name] |
string |
name of the avatar |
CardAvatarTag
Kind: global class
new CardAvatarTag(children, attrs)
Kind: static method of CardAvatarTag
Param |
Type |
node |
HTMLElement |
CardContentTagAttrs
Kind: global class
new CardContentTagAttrs([title], [subtitle], [content])
Param |
Type |
Description |
[title] |
string |
title of the card |
[subtitle] |
string |
subtitle of the card |
[content] |
string |
text content to be displayed |
CardContentTag
Kind: global class
new CardContentTag(children, attrs)
Kind: static method of CardContentTag
Param |
Type |
node |
HTMLElement |
CardHeaderTagAttrs
Kind: global class
new CardHeaderTagAttrs(title, [subtitle])
Param |
Type |
Description |
title |
string |
Title text |
[subtitle] |
string |
Optional subtitle text |
CardHeaderTag
Kind: global class
Properties
new CardHeaderTag(attrs)
Kind: static method of CardHeaderTag
Param |
Type |
node |
HTMLElement |
CardMediaTagAttrs
Kind: global class
new CardMediaTagAttrs([src], [avatarName])
Param |
Type |
Description |
[src] |
string |
public url of the avatar png image |
[avatarName] |
string |
name of the avatar |
CardMediaTag
Kind: global class
new CardMediaTag(children, attrs)
CardMediaTag.getAttributes(node) ⇒ CardMediaTagAttrs
Kind: static method of CardMediaTag
Param |
Type |
node |
HTMLElement |
FooterTag
Kind: global class
new FooterTag(children)
Instantiates a new FooterTag
Param |
Type |
children |
Array.<string> |
FormTagAttrs
Kind: global class
new FormTagAttrs(action, method, header, footer, completionStatusShow, completionStatusInHeader, skipConfirmation)
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) |
skipConfirmation |
boolean | undefined |
whether the additional confirmation step at the end of the form will be skipped |
FormTag
Kind: global class
new FormTag(children, attrs)
Instantiates a new FormTag. It is the equivalent of the HTML