blob: 3ae4000b101615b8dd29e7acbbf5dfbbba3bc9fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<template>
<div class="panel">
<label>
Server <input type="text" :value="modelValue.server" @input="emit('server', $event.target.value)">
</label>
<label>
Port <input type="text" :value="modelValue.port" @input="emit('port', $event.target.value)">
</label>
<label>
Username <input type="text" :value="modelValue.username" @input="emit('username', $event.target.value)">
</label>
<label>
Passwort <input type="text" :value="modelValue.password" @input="emit('password', $event.target.value)">
</label>
<button @click="$emit('connect')">
Connect
</button>
</div>
</template>
<script>
import dynamicModelObjectEmit from '../mixins/dynamicModelObjectEmit';
export default {
mixins: [
dynamicModelObjectEmit,
],
emits: ['connect'],
};
</script>
<style lang="scss">
</style>
|