ImageNode class
A lexical node that represents an image. Use $createImageNode() to construct one.
Signature:
export declare class ImageNode extends DecoratorNode<JSX.Element>
Extends: DecoratorNode<JSX.Element>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(src, altText, title, width, height, key) | Constructs a new instance of the ImageNode class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
__altText | string | ||
__height | 'inherit' | number | ||
__src | string | ||
__title | string | undefined | ||
__width | 'inherit' | number |