src/preview-renderer.ts
This is internal, you probably won't ever need to use it directly.
For understanding's sake, it helps to know that this component
essentially just renders whatever is placed between its tags, but
in a position: fixed
container that is translated according to
the drag in progress and how far it has travelled.
OnDestroy
changeDetection | ChangeDetectionStrategy.OnPush |
selector | dnd-preview-renderer |
standalone | true |
imports |
AsyncPipe
|
styles |
:host {
display: block;
position: fixed;
pointer-events: none;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
|
template |
|
:host {
display: block;
position: fixed;
pointer-events: none;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
}