提交 0656d624 编写于 作者: O owen-m1

Clarify dataIdAttr option docs

上级 8a987c00
......@@ -129,7 +129,7 @@ var sortable = new Sortable(el, {
preventOnFilter: true, // Call `event.preventDefault()` when triggered `filter`
draggable: ".item", // Specifies which items inside the element should be draggable
dataIdAttr: 'data-id',
dataIdAttr: 'data-id', // HTML attribute that is used by the `toArray()` method
ghostClass: "sortable-ghost", // Class name for the drop placeholder
chosenClass: "sortable-chosen", // Class name for the chosen item
......@@ -549,7 +549,7 @@ Demo: https://jsbin.com/becavoj/edit?js,output
---
### Method
### Methods
##### option(name:`String`[, value:`*`]):`*`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册