mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-08-05 05:36:07 +08:00
15 lines
489 B
TypeScript
15 lines
489 B
TypeScript
declare module '@novnc/novnc/lib/rfb' {
|
|
export default class RFB extends EventTarget {
|
|
constructor(target: HTMLElement, url: string, options?: { credentials?: Record<string, string>; shared?: boolean; repeaterID?: string; wsProtocols?: string[] })
|
|
scaleViewport: boolean
|
|
resizeSession: boolean
|
|
focusOnClick: boolean
|
|
viewOnly: boolean
|
|
qualityLevel: number
|
|
compressionLevel: number
|
|
background: string
|
|
disconnect(): void
|
|
sendCtrlAltDel(): void
|
|
}
|
|
}
|