Kind: Class
Source: atloria-monorepo/packages/editor/src/plugins/jsx/LexicalJsxNode.tsx
Extends: DecoratorNode
Methods
| Method | Signature | Returns |
|---|---|---|
getType | getType() | string |
clone | clone(node: LexicalJsxNode) | LexicalJsxNode |
importJSON | importJSON(serializedNode: SerializedLexicalJsxNode) | LexicalJsxNode |
getMdastNode | getMdastNode() | MdastJsx |
getImportStatement | getImportStatement() | `ImportStatement |
exportJSON | exportJSON() | SerializedLexicalJsxNode |
createDOM | createDOM() | HTMLElement |
updateDOM | updateDOM() | false |
setMdastNode | setMdastNode(mdastNode: MdastJsx) | void |
decorate | decorate(parentEditor: LexicalEditor, config: EditorConfig) | JSX.Element |
isInline | isInline() | boolean |
isKeyboardSelectable | isKeyboardSelectable() | boolean |
Properties
| Property | Type |
|---|---|
__mdastNode | MdastJsx |
__focusEmitter | any |
__importStatement | ImportStatement |
select | any |
Was this page helpful?