@nextcloud/dialogs
    Preparing search index...

    Class FilePicker<IsMultiSelect>

    SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors SPDX-License-Identifier: AGPL-3.0-or-later

    Type Parameters

    • IsMultiSelect extends boolean
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Pick files using the FilePicker

      Returns Promise<IsMultiSelect extends true ? string[] : string>

      Promise with array of paths of picked files or rejected promise on close without picking

    • Pick files using the FilePicker.

      Returns Promise<Node[]>

      Promise with array of picked files or rejected promise on close without picking