Skip to content

Commit 26c084e

Browse files
committed
feat: added prop placeholderClass
1 parent d645e20 commit 26c084e

16 files changed

+1464
-1359
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"presets": [
3+
["@babel/preset-typescript"],
34
["@babel/preset-env", { "modules": false }]
45
]
56
}

.eslintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33

44
**/*.svg
55
**/*.sh
6-
7-
/docs/*

.prettierrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"semi": true,
3+
"useTabs": false,
4+
"tabWidth": 2,
5+
"endOfLine": "auto",
6+
"proseWrap": "preserve",
7+
"printWidth": 100,
8+
"singleQuote": true,
9+
"arrowParens": "always",
10+
"trailingComma": "es5",
11+
"bracketSpacing": true,
12+
"jsxSingleQuote": true,
13+
"jsxBracketSameLine": true,
14+
"htmlWhitespaceSensitivity": "css"
15+
}

.prettierrc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ export default {
5050
list: [{ id: '1', text: 'a' }, { id: '2', text: 'b' }, ...];
5151
}
5252
},
53-
methods: {
54-
55-
}
5653
}
5754
</script>
5855
```
@@ -116,6 +113,7 @@ export default {
116113
| `ghostClass` | `String` | `''` | The class of the mask element when dragging |
117114
| `ghostStyle` | `Object` | `{}` | The style of the mask element when dragging |
118115
| `chosenClass` | `String` | `''` | Class name for the chosen item |
116+
| `placeholderClass` | `String` | `''` | Class name for the drop placeholder |
119117

120118
## Methods
121119

0 commit comments

Comments
 (0)