roojs-core.js
roojs-core-debug.js
roojs-debug.js
roojs-all.js
*
**/
Roo.util.Clipboard = {
-
+ /**
+ * Writes a string to the clipboard - using the Clipboard API if https, otherwise using text area.
+ * @param {String} text to copy to clipboard
+ */
write : function(text) {
// navigator clipboard api needs a secure context (https)
if (navigator.clipboard && window.isSecureContext) {
*
**/
Roo.util.Clipboard = {
-
+ /**
+ * Writes a string to the clipboard - using the Clipboard API if https, otherwise using text area.
+ * @param {String} text to copy to clipboard
+ */
write : function(text) {
// navigator clipboard api needs a secure context (https)
if (navigator.clipboard && window.isSecureContext) {
*
**/
Roo.util.Clipboard = {
-
+ /**
+ * Writes a string to the clipboard - using the Clipboard API if https, otherwise using text area.
+ * @param {String} text to copy to clipboard
+ */
write : function(text) {
// navigator clipboard api needs a secure context (https)
if (navigator.clipboard && window.isSecureContext) {