getType method

JSPromise<Blob> getType(
  1. String type
)

The getType() method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested or an error if the MIME type is not found.

Implementation

external JSPromise<Blob> getType(String type);