UNPKG

sparnatural

Version:

Visual client-side SPARQL query builder and knowledge graph exploration tool

13 lines 792 B
//Input is completed by either choosing widgetvalue or adding a whereChild export function completeGrpInput(grpWrapper) { grpWrapper.criteriaGroup.endClassGroup.renderSelectViewVar(); if (grpWrapper.criteriaGroup.startClassGroup.renderEyeBtn) { // only highlite when eye Btn is rendered. grpWrapper.criteriaGroup.startClassGroup.inputSelector.html[0].classList.add("Highlited"); } grpWrapper.html[0].classList.add("completed"); grpWrapper.criteriaGroup.endClassGroup.inputSelector.html[0].classList.add("Highlited"); grpWrapper.html[0].dispatchEvent(new CustomEvent("generateQuery", { bubbles: true })); grpWrapper.html[0].dispatchEvent(new CustomEvent("redrawBackgroundAndLinks", { bubbles: true })); } //# sourceMappingURL=CompleteGrpInput.js.map