chore: save current workspace changes
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { DebugService, FloatingDebugWindow} from '@b2c-spi/hx_cbas_api';
|
||||
|
||||
/**
|
||||
* 悬浮窗页面
|
||||
*/
|
||||
@Entry
|
||||
@Component
|
||||
struct FloatingWindowPage {
|
||||
build() {
|
||||
Column() {
|
||||
FloatingDebugWindow({
|
||||
onMinimize: (): void => { DebugService.getInstance().minimizeToIcon(); },
|
||||
onClose: (): void => { DebugService.getInstance().hideWindow(); },
|
||||
onMove: (deltaX: number, deltaY: number): void => {
|
||||
DebugService.getInstance().moveWindow(deltaX, deltaY);
|
||||
}
|
||||
})
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user