I have a listbox within my popover, but if the list is not loaded I want to close the popover…but the close (or open) methods are not working. Any thoughts?
<jqxPopover #resourcePopover [showCloseButton]="false" [height]="'auto'" [position]="'left'" [selector]="'#trigger'"
[arrowOffsetValue]="0" [offset]='{left: 0, top: 0 }' [autoClose]="true">
<jqxListBox #resourceList class="resource-list" [source]="listSource" [displayMember]="'DESCRIPTION'" [theme]="theme" [valueMember]="'LINK'"
[renderer]="listItemRenderer" [width]="300" [autoHeight]="true" [scrollBarSize]="8" (onSelect)="onItemSelect($event)">
</jqxListBox>
</jqxPopover>
<div class="my-button" id="trigger"></div>
openResources() {
if (!this.loaded){
this.resourcePopover.close();
this.load();
}
}