?
This document uses PHP Chinese website manual Release
這是一個實驗中的功能
此功能某些瀏覽器尚在開發(fā)中,請參考瀏覽器兼容性表格以得到在不同瀏覽器中適合使用的前綴。由于該功能對應的標準文檔可能被重新修訂,所以在未來版本的瀏覽器中該功能的語法和行為可能隨之改變。
dropzone全局屬性 是個枚舉屬性,表示什么內(nèi)容類型可以拖放到元素上,使用 Drag and Drop API,它可以擁有以下值:
copy,它表明拖放行為會創(chuàng)建被拖放元素的副本。
move,它表明被拖放元素會移動到新的位置。
link,它會創(chuàng)建被拖放數(shù)據(jù)的鏈接。
規(guī)范 | 狀態(tài) | 評論 |
---|---|---|
HTML Living Standard該規(guī)范中的'dropzone'的定義。 | 生活水平 | 最新的快照,HTML 5.1沒有變化 |
HTML 5.1該規(guī)范中'dropzone'的定義。 | 建議 | HTML Living Standard的快照,最初的定義 |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) -webkit No support (unprefixed) | No support | ? | ? | ? |
Removed | 58 -webkit |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) -webkit No support (unprefixed) | (Yes) -webkit No support (unprefixed) | No support | ? | ? | ? |
Removed | 58 -webkit | 58 -webkit |