Skip to content

Conversation

@RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Oct 28, 2025

@RSS1102 RSS1102 changed the title feat(Popup): 添加实例方法 `` 获取 popper 实例 feat(Popup): 添加实例方法 getPopper 获取 popper 实例 Oct 28, 2025
@RSS1102 RSS1102 marked this pull request as draft October 29, 2025 03:54
@RSS1102 RSS1102 marked this pull request as ready for review October 29, 2025 06:35
@RSS1102
Copy link
Collaborator Author

RSS1102 commented Oct 29, 2025

image

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Oct 29, 2025

不过看起来返回值为 Instance | null 看起来更合理一点?

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Oct 29, 2025

getOverlay 返回类型为 HTMLElement | null
getPopper 返回类型为 Instance | null

@liweijie0812 liweijie0812 merged commit 00bb86c into main Oct 30, 2025
4 checks passed
@liweijie0812 liweijie0812 deleted the rss1102/feat/popup/get-popper branch October 30, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants