SwiftUI React Nativev6.3.3
  • Values
  • Runtime

Getting started

  • Introduction
  • Installation
  • Quick start

Concepts

  • Reading the reference
  • Composing modifiers
  • Values
  • State and data flow

About

  • What it is
  • Why SwiftUI
  • History

Under the hood

  • How it renders
  • How it's generated
  • Principles
ValuesDrag and drop

DocumentCreationSource

Describes the source used to create a new document.

StructureiOS 27.0+macOS 27.0+visionOS 27.0+

Declaration#

React
type DocumentCreationSource = { id: string; };

Type methods#

Properties#

  • id*string

Used by#

  • NewDocumentButtonA button that creates and opens new documents.

See also#

More in Drag and drop.

  • DocumentConfigurationThe configuration of a document in a DocumentGroup.
  • DropConfigurationDescribes the behavior of the drop.
  • DropOperationOperation types that determine how a drag and drop session resolves when the user drops a drag item.
  • DropOperationSetA set of drop operations, corresponding to matching cases in DropOperation.
  • DropSessionA description of a drop that is in progress.
  • DropSessionIDThe identifier of a drag session.
  • DropSessionLocalSessionDescribes the session originated within the app.

On this page

0%
  • Declaration
  • Type methods
  • Properties
  • Used by
  • See also
Report an issue