We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c46eb commit fc0a6a7Copy full SHA for fc0a6a7
libs/core/dom/src/lib/canvas.ts
@@ -49,6 +49,12 @@ import { createPointerEvents } from './events';
49
50
@Directive({ selector: 'ng-template[canvasContent]' })
51
export class NgtCanvasContent {
52
+ private canvas = inject(NgtCanvasImpl);
53
+
54
+ get host() {
55
+ return this.canvas['host'].nativeElement;
56
+ }
57
58
constructor() {
59
const store = injectStore();
60
const vcr = inject(ViewContainerRef);
0 commit comments