ts-morph-structures

Home > ts-morph-structures > JsxElementImpl

JsxElementImpl class

Signature:

export default class JsxElementImpl implements JsxElementStructureClassIfc 

Implements: JsxElementStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(name)   Constructs a new instance of the JsxElementImpl class

Properties

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[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()