You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to create a popup programmatically using this logic:
const element: HTMLElement = filterElement;
// Clear the container if needed
this.viewContainerRef.clear();
// Assume filters is an array of your Filter type and filter is a single Filter instance
const componentRef = filters
? this.viewContainerRef.createComponent(MetadataFilterDropdownComponent)
: this.viewContainerRef.createComponent(FilterDropdownComponent);
// Assuming tippyService.create accepts an HTMLElement and options
const domElem = componentRef.location.nativeElement;
this.tippy = this.tippyService.create(element, domElem);
The component is showing up. but...
the problem I'm getting is this -
"ERROR Type of content is not supported"
I would love some help trying to understand this.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to create a popup programmatically using this logic:
The component is showing up. but...
the problem I'm getting is this -
"ERROR Type of content is not supported"
I would love some help trying to understand this.
The text was updated successfully, but these errors were encountered: