Skip to content

Commit a7b680f

Browse files
authored
Update README.md
1 parent fc7f822 commit a7b680f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ data () {
5151
</grid>
5252
```
5353
54+
Plugin does **NOT** modify the source data array.
55+
56+
1. Every time permutation is performed you will get a new sorted array in event (`items`).
57+
2. The same works for removing elements, you will get a new "cleaned" array in your `@remove` event handler.
58+
3. Currently there is no way to extend data array after event handling. But hopefully I'll come up with a clean way to do it in nearest future.
59+
5460
### Props
5561
5662
| Name | Type | Default | Description |
@@ -96,6 +102,12 @@ Example:
96102
</template>
97103
```
98104
105+
### Why do i need this?
106+
107+
A good example of using a plugin would be rending macOS' `Launchpad` or `Dock`. Check out a demo for a solid example of how the plugin behaves & feels.
108+
109+
Demo: https://euvl.github.io/vue-js-grid/
110+
99111
### Roadmap
100112
101113
1. Add element insertion

0 commit comments

Comments
 (0)