Home > ts-morph-structures > JsxSelfClosingElementImpl
Signature:
export default class JsxSelfClosingElementImpl implements JsxSelfClosingElementStructureClassIfc
Implements: JsxSelfClosingElementStructureClassIfc
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name) | Constructs a new instance of the JsxSelfClosingElementImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| attributes | readonly |
(JsxAttributeImpl | JsxSpreadAttributeImpl)[] | |
| kind | readonly |
StructureKind.JsxSelfClosingElement | |
| leadingTrivia | readonly |
stringOrWriterFunction[] | |
| name | string | ||
| trailingTrivia | readonly |
stringOrWriterFunction[] |
| Method | Modifiers | Description |
|---|---|---|
| clone(source) | static |
|
| toJSON() |