-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
I am creating a component in a library which uses angular-three
Somewhere in the Scene Graph, it emits output
. I want this to be bubbled up out of the component, into the host app.
I added an output on my SceneGraph
, but I can't see it in <ngt-canvas />
export class SceneGraph {
protected readonly Math = Math;
pointsOfInterest = output<Vector3>();
}
@Component({
selector: 'lib-three-d-hero',
standalone: true,
imports: [NgtCanvas],
template: ` <ngt-canvas [sceneGraph]="sceneGraph" (pointsOfInterest)="pointsOfInterest.emit($event)" /> `,
styles: `
:host {
display: block;
height: 100dvh;
}
`,
})
How can I make this work?
Metadata
Metadata
Assignees
Labels
No labels