`](./wy-annotation.ts)
*
* @fires {WyActionEventType} wy-action - Emitted when an action is performed on an entity.
* @csspart wy-annotations - Wrapper for the annotations.
*/
@customElement("wy-annotation-list")
export class WyAnnotationList extends WeavySubAppComponent {
static override styles = [hostContentCss];
protected exportParts = new ShadowPartsController(this);
/**
* The annotations file list to display.
*/
@property({ attribute: false })
files: FileType[] = [];
override render() {
if (this.settings?.annotations === "none") {
return nothing;
}
return html`
${this.files.map((file: FileType) => html``)}
`;
}
}