What is disableSelection used for in jQuery UI?

前端 未结 3 1409
余生分开走
余生分开走 2021-02-04 23:00

Can someone help me understand why is this useful and when to use it?

$( \"#sortable\" ).disableSelection();
3条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 23:44

    jQuery documentation says to not use it http://api.jqueryui.com/disableselection/

    Also, I found that it made elements with contenteditable="true" no longer editable.

提交回复
热议问题