Skip to content

Change parameters of plugin API addFloatLayer #13816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
88250 opened this issue Jan 14, 2025 · 0 comments
Closed

Change parameters of plugin API addFloatLayer #13816

88250 opened this issue Jan 14, 2025 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Jan 14, 2025

相关接口修改

public addFloatLayer = (options: {
        refDefs: IRefDefs[],
        x?: number,
        y?: number,
        targetElement?: HTMLElement,
        originalRefBlockIDs?: IObject,
        isBacklink: boolean,
    })

ids: string[], defIds?: string[] 合并为 refDefs: { refID: string, defIDs?: string[] }[],其中 ids 对应 refDefs.refIDdefIds 对应 refDefs.defIDs

Originally posted by @Vanessa219 in #13791 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants