Hello,
Use rpgGuiClose
service
<template>
<button @click="close">Close</button>
</template>
<script>
export default {
name: 'gui-name'
inject: ['rpgGuiClose'],
methods: {
close() {
this.rpgGuiClose('gui-name', {
value: 'myvalue' // You can send values to the server
})
}
}
}
</script>