Edit in GitHubLog an issue

openQuickAction()

This API is used for opening a quick action.

Copied to your clipboard
openQuickAction: (quickActionParams: QuickActionParams): void

QuickActionParams

Besides id, all other properties are optional.

PropertyTypeDescription
id
Specify which quick action to open.
callbacks
Callback methods
modalParams
Parameters to configure modal UI
inputParams
Input parameters when opening a quick action.
outputParams
Desired output options when exporting assets from a quick action.

QuickActionId

This ID is associated with the quick action you want to surface to your user.

Quick ActionQuickActionIdType
Crop image
'crop-image'
Image
Convert to JPG
'convert-to-jpg'
Image
Convert to PNG
'convert-to-png'
Image
Resize image
'resize-image'
Image
Remove background
'remove-background'
Image
Generate QR code
'generate-qr-code'
Image
Convert to GIF
'convert-to-gif'
Video
Convert to MP4
'convert-to-mp4'
Video
Crop video
'crop-video'
Video
Merge videos
'merge-videos'
Video
Resize video
'resize-video'
Video
Trim video
'trim-video'
Video
Animate from audio
'animate-from-audio'
Video
Caption video
'caption-video'
Video

QuickActionInputParams

Input parameters for quick actions. All the properties are optional.

PropertyTypeDescription
exportOptions
Export options for the asset that is created. These options will be visible in the quick action editor.
asset
Asset from the host application to start editing with. Array of assets only accepted for merge video quick action.
receiveTargetErrors
boolean
Boolean that tells client whether or not to receive target application errors.
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.