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