# HG changeset patch # User drewp@bigasterisk.com # Date 1654111186 25200 # Node ID 6a9f9af9d3b8fab80e4dc8bfdbff5b1df60d9bd3 # Parent 1ef921880e37df18328157f398dec1966278218d EditChoice sends new choice in event diff -r 1ef921880e37 -r 6a9f9af9d3b8 light9/web/EditChoice.ts --- a/light9/web/EditChoice.ts Wed Jun 01 01:12:23 2022 -0700 +++ b/light9/web/EditChoice.ts Wed Jun 01 12:19:46 2022 -0700 @@ -3,7 +3,7 @@ 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 @@ _setUri(u: any) { this.uri = u; - this.dispatchEvent(new CustomEvent("edited")); + this.dispatchEvent(new CustomEvent("edited", {detail: {newValue: u}})); } unlink() {