Finished logic
This commit is contained in:
@@ -7,6 +7,11 @@ import { ref } from 'vue';
|
||||
|
||||
const xml = ref('');
|
||||
const query = ref('');
|
||||
const version = ref('');
|
||||
|
||||
function updateVersion(newVersion: string) {
|
||||
version.value = newVersion;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -16,7 +21,7 @@ const query = ref('');
|
||||
<xmlInputFieldComponent stylized-name="XML" :data="xml" @update="(data) => {xml = data}"></xmlInputFieldComponent>
|
||||
<xmlInputFieldComponent stylized-name="XPath" :data="query" @update="(data) => {query = data}"></xmlInputFieldComponent>
|
||||
</div>
|
||||
<xmlOutputFieldComponent tool="xpath" :xml="xml" :query="query"></xmlOutputFieldComponent>
|
||||
<tooltipComponent></tooltipComponent>
|
||||
<xmlOutputFieldComponent tool="xpath" :xml="xml" :query="query" @update="(version) => updateVersion(version)"></xmlOutputFieldComponent>
|
||||
<tooltipComponent :version="version"></tooltipComponent>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user