For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/lynxtron/api/@lynx-js/lynxtron/Interface.SaveDialogOptions.md.
  • 简体中文
  • @lynx-js/lynxtron / SaveDialogOptions

    SaveDialogOptions

    属性

    buttonLabel?

    optional buttonLabel: string;

    Custom label for the confirmation button, when left empty the default label will be used.

    定义于

    apis/api/dialog.d.ts:281


    defaultPath?

    optional defaultPath: string;

    Absolute directory path, absolute file path, or file name to use by default.

    定义于

    apis/api/dialog.d.ts:276


    filters?

    optional filters: FileFilter[];

    定义于

    apis/api/dialog.d.ts:282


    message?
    macOS

    optional message: string;

    Message to display above text fields.

    定义于

    apis/api/dialog.d.ts:288


    nameFieldLabel?
    macOS

    optional nameFieldLabel: string;

    Custom label for the text displayed in front of the filename text field.

    定义于

    apis/api/dialog.d.ts:294


    properties?

    optional properties: (
      | "showHiddenFiles"
      | "createDirectory"
      | "treatPackageAsDirectory"
      | "dontAddToRecent"
      | "showOverwriteConfirmation")[];

    定义于

    apis/api/dialog.d.ts:301


    securityScopedBookmarks?
    macOS

    optional securityScopedBookmarks: boolean;

    Create a security scoped bookmark when packaged for the Mac App Store. If this option is enabled and the file doesn't already exist a blank file will be created at the chosen path.

    定义于

    apis/api/dialog.d.ts:315


    showsTagField?
    macOS

    optional showsTagField: boolean;

    Show the tags input box, defaults to true.

    定义于

    apis/api/dialog.d.ts:300


    title?

    optional title: string;

    The dialog title. Cannot be displayed on some Linux desktop environments.

    定义于

    apis/api/dialog.d.ts:272

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。