Clipboard issues

Posted by: kevin.krohn on 28 March 2018, 3:42 pm EST

    • Post Options:
    • Link

    Posted 28 March 2018, 3:42 pm EST

    I would like to use the clipboard functionality from a context menu. I am trying to work within the requirements that the copy and paste methods only work right after a ctrl-c or ctrl-v key press. In Angular, I am trying to dispatch a keyboard event with the two events in question. I can set the key and the code but not the keyCode of the event. It seems as though the clipboard is looking specifically for the keyCode, which is a depreciated property and readonly.

    Is there anyway to use the clipboard without having a key press right before or do you know of a way to get the keyboardevent to return the correct code?

    Thanks

  • Posted 29 March 2018, 5:07 am EST

    Sorry, but there’s currently now way to use clipboard without pressing a key when using the Wijmo Clipboard. The Wijmo Clip board can only modify the ClipBoard content, the properties like KeyCode which are keyboard specific cannot be modified using the API.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels