20 lines
538 B
Markdown
20 lines
538 B
Markdown
# Falkon QML Tutorial - 6. Using clipboard
|
|
|
|
Hello, in this chapter I will show you how to use Falkon clipboard. It
|
|
is only possible to copy data out of the extension into the clipboard.
|
|
|
|
|
|
## Use clipboard
|
|
|
|
```qml
|
|
Falkon.Clipboard.copy('Something from Falkon in the clipboard')
|
|
```
|
|
|
|
## Example
|
|
The example code will add a context menu which will add 2 entries. One
|
|
to copy something and other to copy image URL to the clipboard.
|
|
|
|
### Code
|
|
The code for this example can be found at
|
|
[extensions/qml_tutorial_6](../extensions/qml_tutorial_6)
|