API Documentation

Documentation for developing SailfishOS applications

Clipboard QML Type

Exposes basic clipboard functionality More...

Import Statement: import Sailfish.Silica 1.0


Detailed Description

The Clipboard object exposes basic text copy-and-paste functionality.

This is a singleton object; the Clipboard type cannot be instantiated.

Property Documentation

hasText : bool

True if the clipboard currently contains non-empty text.

text : string

Current contents of the system clipboard as text. Writing to this property updates the clipboard, equivalent to copying text.

We use cookies to improve your user experience and to help us to develop our services. By continuing to browse the site, you approve of our use of cookies.