diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 87924b4..c95e069 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ Explain the problem and include additional details to help maintainers reproduce * **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. ## Suggesting Enhancements -In case you want to suggest for TOAST UI Editor, please follow this guideline to help maintainers and the community understand your suggestion. +In case you want to suggest for TOAST UI Grid, please follow this guideline to help maintainers and the community understand your suggestion. Before creating suggestions, please check [issue list](https://github.com/nhn/toast-ui.vue-grid/labels/feature%20request) if there's already a request. Create an issue and provide the following information: @@ -25,7 +25,7 @@ Create an issue and provide the following information: * **Use a clear and descriptive title** for the issue to identify the suggestion. * **Provide a step-by-step description of the suggested enhancement** in as many details as possible. * **Provide specific examples to demonstrate the steps.** Include copy/pasteable snippets which you use in those examples, as Markdown code blocks. -* **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. +* **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. * **Explain why this enhancement would be useful** to most TOAST UI users. * **List some other text editors or applications where this enhancement exists.** diff --git a/README.md b/README.md index 01afe9c..bf71572 100644 --- a/README.md +++ b/README.md @@ -86,12 +86,12 @@ You can use Toast UI Grid for Vue as moudule format or namespace. Also you can u First insert `` in the template or html. `rowData` and `columnData` props are required. ```html - + ``` Load grid component and then add it to the `components` in your component or Vue instance. -> Tui-grid has its own reactivity system, and does not use the reactivity system of vue. So, instead of adding props in the `data`, declare props in the `created` lifecycle method. +> TOAST UI Grid has its own reactivity system, and does not use the reactivity system of Vue. So, instead of adding props in the `data`, declare `props` in the `created` lifecycle method. ```js import 'tui-grid/dist/tui-grid.css' @@ -102,8 +102,8 @@ export default { 'grid': Grid }, created() { - this.options = { - rows: [ // for rowData prop + this.gridProps = { + data: [ // for rowData prop { name: 'Beautiful Lies', artist: 'Birdy' @@ -178,7 +178,7 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props. Ex * mouseout : Occurs when a mouse pointer is moved off from the Grid. * mousedown : Occurs when a mouse button is downed on the Grid. * focusChange : Occurs when focused cell is about to change. -* expande : Occurs when the row having child rows is expanded. +* expand : Occurs when the row having child rows is expanded. * collapse : Occurs when the row having child rows is collapsed. * beforeRequest : Occurs before the http request is sent. * response : Occurs when the response is received from the server. diff --git a/docs/getting-started.md b/docs/getting-started.md index 205c40f..30f1c56 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -61,12 +61,12 @@ You can use Toast UI Grid for Vue as module format or namespace. Also you can us First insert `` in the template or html. `rowData` and `columnData` props are required. ```html - + ``` Load grid component and then add it to the `components` in your component or Vue instance. -> Tui-grid has its own reactivity system, and does not use the reactivity system of vue. So, instead of adding props in the `data`, declare props in the `created` lifecycle method. +> TOAST UI Grid has its own reactivity system, and does not use the reactivity system of Vue. So, instead of adding props in the `data`, declare `props` in the `created` lifecycle method. ```js import 'tui-grid/dist/tui-grid.css' @@ -78,7 +78,7 @@ export default { }, created() { this.options = { - rows: [ // for rowData prop + data: [ // for rowData prop { name: 'Beautiful Lies', artist: 'Birdy' @@ -119,7 +119,10 @@ You can use `rowData`, `columnData`, `options`, `theme` and `language` props. ``` html