Added footer and header templates.
This commit is contained in:
parent
38e8b884a7
commit
b4545c9dc5
@ -1456,7 +1456,7 @@ class span extends IgniteTemplate {
|
||||
/**
|
||||
* An ignite template that can be used to construct a small element.
|
||||
*/
|
||||
class small extends IgniteTemplate {
|
||||
class small extends IgniteTemplate {
|
||||
/**
|
||||
* @param {...String|Number|IgniteProperty|IgniteTemplate} children A series of children to be added to this template.
|
||||
*/
|
||||
@ -1645,6 +1645,30 @@ class form extends IgniteTemplate {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An ignite template that can be used to construct a header element.
|
||||
*/
|
||||
class header extends IgniteTemplate {
|
||||
/**
|
||||
* @param {...String|Number|IgniteProperty|IgniteTemplate} children A series of children to be added to this template.
|
||||
*/
|
||||
constructor(...children) {
|
||||
super("header", children);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An ignite template that can be used to construct a footer element.
|
||||
*/
|
||||
class footer extends IgniteTemplate {
|
||||
/**
|
||||
* @param {...String|Number|IgniteProperty|IgniteTemplate} children A series of children to be added to this template.
|
||||
*/
|
||||
constructor(...children) {
|
||||
super("footer", children);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An ignite template that can be used to construct a progress element.
|
||||
*/
|
||||
@ -2668,5 +2692,7 @@ export {
|
||||
path,
|
||||
circle,
|
||||
line,
|
||||
form
|
||||
form,
|
||||
header,
|
||||
footer
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user