Skip to main content

navigator_clipboard_read

Function navigator_clipboard_read 

Source
pub(crate) fn navigator_clipboard_read(
    it: &mut Interp,
    this: Value,
    _a: &[Value],
) -> Result<Value, Value>
Expand description

navigator.clipboard.read()(丸ごと未対応だった)。現在の _clipboard 文字列を text/plainBlob として包んだ ClipboardItem 1件を返す。