mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add back and forward navigate.
This commit is contained in:
parent
67405da3aa
commit
251cea24b8
@ -287,8 +287,16 @@
|
||||
}
|
||||
|
||||
// TODO: Refactor.
|
||||
public browserUrl(url: string) {
|
||||
this.websocket.send('browser/url', { url })
|
||||
public browserNavigateUrl(url: string) {
|
||||
this.websocket.send('browser/navigate/url', { url })
|
||||
}
|
||||
|
||||
public browserNavigateBack() {
|
||||
this.websocket.send('browser/navigate/back')
|
||||
}
|
||||
|
||||
public browserNavigateForward() {
|
||||
this.websocket.send('browser/navigate/forward')
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user