NgDiagramPaletteItemPreviewComponent
since v0.8.0The NgDiagramPaletteItemPreviewComponent defines the preview of a palette item shown while it is
dragged onto the canvas.
Example usage
Section titled “Example usage”<ng-diagram-palette-item-preview> <!-- Palette item content here --></ng-diagram-palette-item-preview>Properties
Section titled “Properties”preview
Section titled “preview”
readonlypreview:Signal<undefined|ElementRef<HTMLElement>>
The element holding the preview content. It is not rendered in the page flow, so read the preview’s natural size or content from it — its position is meaningless.
Accessors
Section titled “Accessors”scaleTransform
Section titled “scaleTransform”Get Signature
Section titled “Get Signature”get scaleTransform():
string
Returns
Section titled “Returns”string