@hubxu/utils / Exports / bom
▸ getSelectedText(): string
获取选中的文本
string
▸ openCenteredWindow(url, windowName, width, height): void
打开一个居中的窗口
| Name | Type |
|---|---|
url |
string |
windowName |
string |
width |
number |
height |
number |
void
▸ prefersDarkColorScheme(): boolean
是否是暗黑模式
boolean
▸ prefersLightColorScheme(): boolean
是否是浅色模式
boolean