非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
DataTransfer.mozCursor
property returns or sets the drag cursor's state. This is primarily used to control the cursor during tab drags.
可能的值包括:
Uses the default system behavior.
Uses the default Gecko behavior, which is to set the cursor to an arrow during the drag operation.
default
有设置,
auto
is assumed.
注意:
This property is currently only implemented on Windows.
注意:
This property is Gecko-specific.
dataTransfer.mozCursor;
A
DOMString
representing one of the values listed above.
This example shows the use of the
mozCursor
特性。
function drop_handler(event)
{
var dragData = event.dataTransfer;
console.log("mozCursor = " + dragData.mozCursor);
}
This property is not defined in any Web standard.
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
mozCursor
非标
|
Chrome No | Edge No | Firefox Yes | IE No | Opera No | Safari No | WebView Android No | Chrome Android No | Firefox Android ? | Opera Android No | Safari iOS No | Samsung Internet Android No |
完整支持
不支持
兼容性未知
实验。期望将来行为有所改变。
非标。预期跨浏览器支持较差。
DataTransfer