MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.



    我们的志愿者还没有将这篇文章翻译为 中文 (简体) 。加入我们帮助完成翻译!

    This is an experimental technology
    Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

    The ClipboardEvent interface represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.


    Also inherits properties from its parent Event.

    ClipboardEvent.clipboardData Read only
    Is a DataTransfer object containing the data affected by the user-initialed cut, copy, or paste operation, along with its MIME type.


    Creates a ClipboardEvent event with the given parameters.


    No specific method; inherits methods from its parent Event.


    Specification Status Comment
    Clipboard API
    The definition of 'ClipboardEvent' in that specification.
    Working Draft Initial definition.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support (Yes) (Yes) 4.0 (Yes) (Yes)
    clipboardData (Yes) 22.0 (22.0) 5.0 (Yes) (Yes)
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support (Yes) (Yes) 4.0 (Yes) (Yes)
    clipboardData (Yes) 22.0 (22.0) 5.0 (Yes) (Yes)

    See also


    此页面的贡献者有: fscholz, teoli
    最后编辑者: fscholz,