mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
toggle switch inverse.
This commit is contained in:
parent
619ac3350b
commit
c0cb144876
@ -73,8 +73,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="ok">
|
<tr class="ok">
|
||||||
<td>
|
<td>
|
||||||
<button v-if="!neko.state.control.scroll.inverse" @click="neko.setScrollInverse(true)">switch to inverse</button>
|
<button @click="neko.setScrollInverse(!neko.state.control.scroll.inverse)">toggle</button>
|
||||||
<button v-else @click="neko.setScrollInverse(false)">switch to normal</button>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ok">
|
<tr class="ok">
|
||||||
@ -239,7 +238,7 @@
|
|||||||
url: string = 'ws://192.168.1.20:3000/'
|
url: string = 'ws://192.168.1.20:3000/'
|
||||||
pass: string = 'admin'
|
pass: string = 'admin'
|
||||||
name: string = 'test'
|
name: string = 'test'
|
||||||
|
|
||||||
connect() {
|
connect() {
|
||||||
this.neko.connect(this.url, this.pass, this.name)
|
this.neko.connect(this.url, this.pass, this.name)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user