Clipboard class

Available only in secure contexts.

MDN Reference

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

Clipboard.new()
factory

Properties

addEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
dispatchEvent bool Function(Event)

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
read Future<List> Function()

Available on Clipboard, provided by the Clipboard$Typings extension

getter/setter pair
readText Future<String> Function()

Available on Clipboard, provided by the Clipboard$Typings extension

getter/setter pair
removeEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
write Future<void> Function(List)

Available on Clipboard, provided by the Clipboard$Typings extension

getter/setter pair
writeText Future<void> Function(String)

Available on Clipboard, provided by the Clipboard$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited