I am using this piece of Javascript to get the Clipboard content insde of a UWP App:
var content = Windows.ApplicationModel.DataTransfer.Clipboard.getContent();
var text = content.getTextAsync();
However, if I display text
in my view it shows [object Object]
even though the Docs say the method getTextAsync
returns text.
How can I see what is inside the object, without expecting something specific?