mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
5046c8d862
commit
f3a1ce12f8
3 changed files with 10 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ export class Plugin {
|
|||
public addTab(options: {
|
||||
type: string,
|
||||
destroy?: () => void,
|
||||
beforeDestroy?: () => void,
|
||||
resize?: () => void,
|
||||
update?: () => void,
|
||||
init: () => void
|
||||
|
|
@ -187,6 +188,7 @@ export class Plugin {
|
|||
type: type2,
|
||||
data: arg.data,
|
||||
init: options.init,
|
||||
beforeDestroy: options.beforeDestroy,
|
||||
destroy: options.destroy,
|
||||
resize: options.resize,
|
||||
update: options.update,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue