mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-24 05:21:02 -08:00
feat: some url related
This commit is contained in:
parent
f7877b46dc
commit
600501edd9
8 changed files with 39 additions and 7 deletions
|
|
@ -33,6 +33,11 @@ export interface IWorkspaceViewService {
|
|||
* @param id workspace id, if omit, will load url in active workspace if existed
|
||||
*/
|
||||
loadURL(url: string, workspaceID?: string): Promise<void>;
|
||||
/**
|
||||
* Open url, and if id is valid, we will switch to that workspace first
|
||||
* @param url
|
||||
* @param workspaceID
|
||||
*/
|
||||
openUrlInWorkspace(url: string, workspaceID: string): Promise<void>;
|
||||
printTiddler(tiddlerName?: string | undefined): Promise<void>;
|
||||
realignActiveWorkspace(id?: string): Promise<void>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue