diff --git a/ignite-template.js b/ignite-template.js index f479a2f..2a45ede 100644 --- a/ignite-template.js +++ b/ignite-template.js @@ -1417,6 +1417,19 @@ class circle extends IgniteTemplate { } } +/** + * An ignite template that can be used to construct a line element. + */ +class line extends IgniteTemplate { + /** + * @param {...String|Number|IgniteProperty|IgniteTemplate} children A series of children to be added to this template. + */ + constructor(...children) { + super("line", children); + this.tagNamespace = "http://www.w3.org/2000/svg"; + } +} + /** * Html is a special template that can construct raw html or properties into the dom and automatically * update the dom if the property changes. @@ -2298,5 +2311,6 @@ export { g, path, circle, + line, form }; \ No newline at end of file