본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Interface: OpenDialogResult

원문 보기 위키 갱신

Docker Desktop 확장 SDK의 OpenDialogResult 인터페이스예요. 다이얼로그를 연 결과(선택한 경로 등)를 나타내요.

출처: 문서

본문

Interface: OpenDialogResult

Since

0.2.3

속성

canceled

• Readonly canceled: boolean

Whether the dialog was canceled.

filePaths

• Readonly filePaths: string[]

An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.

bookmarks

• Optional Readonly bookmarks: string[]

macOS only. An array matching the filePaths array of base64 encoded strings which contains security scoped bookmark data. securityScopedBookmarks must be enabled for this to be populated.

더 알아보기