diff --git a/README.md b/README.md index 3b78780..649c616 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ const options = [ "item1", "item2", "item3" ]; @@ -50,8 +50,6 @@ const options = [ "item1", "item2", "item3" ]; background: #5fdddc; } - - ``` ## đź“–Ducumentation @@ -67,7 +65,7 @@ selectedOptionClass | the class names of selected DragSelectOption | string | -- selectedOptionStyle | the selected styles of selected DragSelectOption | string | -- -### DragSelect Methods + ### DragSelectOption Attributes Attribute | Description | Type | Default @@ -91,6 +89,6 @@ name | Description drag-select__wrapper | the className of DragSelect itself drag-select | the className of the container of dragSelectOption drag-select__area | the className of drag area -drag-select__option | the className of dragSelectOption component -drag-select__option--selected | the className of dragSelectOption component which are selected -drag-select__option--disabled | the className of dragSelectOption component which are disabled \ No newline at end of file +drag-select-option | the className of dragSelectOption component +drag-select-option--selected | the className of dragSelectOption component which are selected +drag-select-option--disabled | the className of dragSelectOption component which are disabled \ No newline at end of file diff --git a/package.json b/package.json index dafab32..a57e7ee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@coleqiu/vue-drag-select", "version": "2.0.1", - "description": "Drag select component for Vue.js", + "description": "Drag select component for Vue3", "keywords": [ "vue", "vue3",