Home > hpcc-js > HPCCPreviewElement
HPCCPreviewElement class
Signature:
export declare class HPCCPreviewElement extends HPCCResizeElement
Extends: HPCCResizeElement
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)() | Constructs a new instance of the HPCCPreviewElement class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_cm | protected | HPCCCodemirrorElement | |
_head | protected | string | |
_iframe | protected | HTMLIFrameElement | |
_iframeDiv | protected | HTMLDivElement | |
_scripts | protected | string[] | |
_slot | protected | HTMLSlotElement | |
_splitter | protected | HPCCSplitPanelElement | |
_vitepress | protected | boolean | |
content_selector | string | Optional selector for extracting the preview content for the iframe. e.g. for Vitepress this would be "pre > code" | |
content | string | Preview Content | |
preview_border | string | Border style for the preview iframe |
Methods
Method | Modifiers | Description |
---|---|---|
enter() | ||
exit() | ||
update(changes) |