diff --git a/bim.js b/bim.js index c458276..3ea7428 100644 --- a/bim.js +++ b/bim.js @@ -95,8 +95,18 @@ BIM.setupHighligther = async function (model) { const highlighter = this.components.get(OBF.Highlighter); highlighter.setup({ world }); - highlighter.events.select.onHighlight.add((property) => { - console.log(property); + highlighter.events.select.onHighlight.add(async (property) => { + const expressID = property[Object.keys(property)[0]].entries().next().value[0]; + let testProp = await model.getProperties(expressID); + + // BAD just for testing + const li = document.querySelector('#selected-prop'); + li.innerHTML = ` +