You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@ Explain the problem and include additional details to help maintainers reproduce
17
17
***Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem.
18
18
19
19
## Suggesting Enhancements
20
-
In case you want to suggest for TOAST UI Editor, please follow this guideline to help maintainers and the community understand your suggestion.
20
+
In case you want to suggest for TOAST UI Grid, please follow this guideline to help maintainers and the community understand your suggestion.
21
21
Before creating suggestions, please check [issue list](https://github.com/nhn/toast-ui.vue-grid/labels/feature%20request) if there's already a request.
22
22
23
23
Create an issue and provide the following information:
24
24
25
25
***Use a clear and descriptive title** for the issue to identify the suggestion.
26
26
***Provide a step-by-step description of the suggested enhancement** in as many details as possible.
27
27
***Provide specific examples to demonstrate the steps.** Include copy/pasteable snippets which you use in those examples, as Markdown code blocks.
28
-
***Include screenshots and animated GIFs** which helps demonstrate the steps or point out the part of TOAST UI Editor which the suggestion is related to.
28
+
***Include screenshots and animated GIFs** which helps demonstrate the steps or point out the part of TOAST UI Grid which the suggestion is related to.
29
29
***Explain why this enhancement would be useful** to most TOAST UI users.
30
30
***List some other text editors or applications where this enhancement exists.**
Load grid component and then add it to the `components`in your component or Vue instance.
93
93
94
-
>Tui-grid has its own reactivity system, and does not use the reactivity system ofvue. So, instead of adding props in the `data`, declare props in the `created` lifecycle method.
94
+
>TOASTUI Grid has its own reactivity system, and does not use the reactivity system ofVue. So, instead of adding props in the `data`, declare `props`in the `created` lifecycle method.
95
95
96
96
```js
97
97
import 'tui-grid/dist/tui-grid.css'
@@ -102,8 +102,8 @@ export default {
102
102
'grid': Grid
103
103
},
104
104
created() {
105
-
this.options = {
106
-
rows: [ // for rowData prop
105
+
this.gridProps = {
106
+
data: [ // for rowData prop
107
107
{
108
108
name: 'Beautiful Lies',
109
109
artist: 'Birdy'
@@ -178,7 +178,7 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props. Ex
178
178
* mouseout : Occurs when a mouse pointer is moved off from the Grid.
179
179
* mousedown : Occurs when a mouse button is downed on the Grid.
180
180
* focusChange : Occurs when focused cell is about to change.
181
-
*expande: Occurs when the row having child rows is expanded.
181
+
*expand: Occurs when the row having child rows is expanded.
182
182
* collapse : Occurs when the row having child rows is collapsed.
183
183
* beforeRequest : Occurs before the http request is sent.
184
184
* response : Occurs when the response is received from the server.
Load grid component and then add it to the `components`in your component or Vue instance.
68
68
69
-
>Tui-grid has its own reactivity system, and does not use the reactivity system ofvue. So, instead of adding props in the `data`, declare props in the `created` lifecycle method.
69
+
>TOASTUI Grid has its own reactivity system, and does not use the reactivity system ofVue. So, instead of adding props in the `data`, declare `props`in the `created` lifecycle method.
70
70
71
71
```js
72
72
import 'tui-grid/dist/tui-grid.css'
@@ -78,7 +78,7 @@ export default {
78
78
},
79
79
created() {
80
80
this.options = {
81
-
rows: [ // for rowData prop
81
+
data: [ // for rowData prop
82
82
{
83
83
name: 'Beautiful Lies',
84
84
artist: 'Birdy'
@@ -119,7 +119,10 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
119
119
120
120
``` html
121
121
<template>
122
-
<grid :rowData="rows" :columnData="columns" />
122
+
<grid
123
+
:data="gridProps.data"
124
+
:columns="gridProps.columns"
125
+
/>
123
126
</template>
124
127
<script>
125
128
import 'tui-grid/dist/tui-grid.css'
@@ -131,8 +134,8 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
131
134
'grid': Grid
132
135
},
133
136
created() {
134
-
this.options = {
135
-
rows: [ // for rowData prop
137
+
this.gridProps = {
138
+
data: [ // for rowData prop
136
139
{
137
140
name: 'Beautiful Lies',
138
141
artist: 'Birdy'
@@ -171,9 +174,9 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
171
174
``` html
172
175
<template>
173
176
<grid
174
-
:rowData="options.rows"
175
-
:columnData="options.columns"
176
-
:options="options.options"
177
+
:data="gridProps.data"
178
+
:columns="gridProps.columns"
179
+
:options="gridProps.options"
177
180
/>
178
181
</template>
179
182
<script>
@@ -186,8 +189,8 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
186
189
'grid': Grid
187
190
},
188
191
created() {
189
-
this.options = {
190
-
rows: [
192
+
this.gridProps = {
193
+
data: [
191
194
// ... omit
192
195
],
193
196
columns: [
@@ -220,8 +223,8 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
220
223
``` html
221
224
<template>
222
225
<grid
223
-
:rowData="options.rows"
224
-
:columnData="options.columns"
226
+
:data="gridProps.data"
227
+
:columns="gridProps.columns"
225
228
:theme="'striped'"
226
229
/>
227
230
</template>
@@ -235,7 +238,7 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
235
238
'grid': Grid
236
239
},
237
240
created() {
238
-
this.options = {
241
+
this.gridProps = {
239
242
rows: [
240
243
// ... omit
241
244
],
@@ -253,9 +256,9 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
253
256
``` html
254
257
<template>
255
258
<grid
256
-
:rowData="options.rows"
257
-
:columnData="options.columns"
258
-
:theme="options.myTheme"
259
+
:data="gridProps.rows"
260
+
:columns="gridProps.columns"
261
+
:theme="gridProps.myTheme"
259
262
/>
260
263
</template>
261
264
<script>
@@ -268,8 +271,8 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
268
271
'grid': Grid
269
272
},
270
273
created() {
271
-
this.options = {
272
-
rows: [
274
+
this.gridProps = {
275
+
data: [
273
276
// ... omit
274
277
],
275
278
columns: [
@@ -313,7 +316,11 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props.
0 commit comments