Skip to content

Commit d7dd272

Browse files
minor updations to readme file
1 parent 77110ec commit d7dd272

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ You can install the component using `npm i -S vue-survey-builder`
66

77
### Demo
88
You can see the demo [here](http://vue-survey-builder.s3-website-us-east-1.amazonaws.com/#/)
9+
910
Please look at the souce code of the demo [here](https://github.com/rajeshwarpatlolla/vue-survey-builder-test)
1011

1112
### Steps to use
@@ -30,10 +31,10 @@ It emits an event called `add-update-question` with a question object and the ty
3031
In your component, keep track of this event to capture it
3132
````
3233
mounted() {
33-
this.$root.$on('add-update-question', question => {
34-
window.console.log(question);
35-
});
36-
},
34+
this.$root.$on('add-update-question', question => {
35+
window.console.log(question);
36+
});
37+
},
3738
````
3839
When you get the object, you can cross check for the `id`, in the list of questions you have. If the `id` exists, then it means there is an update to the question, if the `id` doesn't exist, then you can directly add the question to the list of questions.
3940
You can refer the sample code in the [demo repository](https://github.com/rajeshwarpatlolla/vue-survey-builder-test/blob/master/src/components/TestSurveyBuilder.vue#L30)
@@ -81,11 +82,10 @@ You can use it like
8182

8283
### Versions
8384
#### 0.1.0
84-
This version is the initial official release of this component. It has all the required functionalities to build the surveys using vue.js
85+
This version is the initial release of this open source project. It has all the required functionalities to build the surveys using vue.js
8586

8687
### To Do
8788
- Support for rating question
88-
- Improve JSON
8989
- Introduce drag and drop
9090

9191
### Organisation

0 commit comments

Comments
 (0)