diff --git a/light9/web/EditChoice.ts b/light9/web/EditChoice.ts --- a/light9/web/EditChoice.ts +++ b/light9/web/EditChoice.ts @@ -3,7 +3,7 @@ import debug from "debug"; import { css, html, LitElement } from "lit"; import { customElement, property } from "lit/decorators.js"; import { NamedNode } from "n3"; - +export { ResourceDisplay } from "../web/ResourceDisplay"; const log = debug("editchoice"); const RDFS = "http://www.w3.org/2000/01/rdf-schema#"; @@ -103,7 +103,7 @@ export class EditChoice extends LitEleme _setUri(u: any) { this.uri = u; - this.dispatchEvent(new CustomEvent("edited")); + this.dispatchEvent(new CustomEvent("edited", {detail: {newValue: u}})); } unlink() {