Text Box 1 with default text and place holder
-
+
```
@@ -48,8 +51,9 @@ export default {
LabelEdit,
},
methods: {
- textUpdated: function(text){
+ textUpdated: function(text, objectId){
this.text = text;
+ //save(text, objectId)
},
}
}
@@ -61,4 +65,4 @@ export default {
### References
-[demo]: https://media.giphy.com/media/PMUxyTGtLN8csmXxFm/giphy.gif
\ No newline at end of file
+[demo]: https://media.giphy.com/media/PMUxyTGtLN8csmXxFm/giphy.gif
diff --git a/package.json b/package.json
index 8eb4f7a..3f2f815 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
- "name": "label-edit",
- "version": "0.2.0",
+ "name": "mhucik-label-edit",
+ "version": "0.2.1",
"description": "Click to show input text box Vue Component ... inspired by Trello",
"main": "dist/vue-label-edit.js",
"scripts": {
@@ -17,7 +17,7 @@
"vuejs",
"vuejs2"
],
- "author": "Myo Kyaw Htun",
+ "author": "Myo Kyaw Htun & Marek Hučík",
"license": "MIT",
"bugs": {
"url": "https://github.com/mhucik/label-edit/issues"
@@ -42,6 +42,6 @@
},
"devDependencies": {
"serviceworker-webpack-plugin": "^1.0.0-alpha02",
- "webpack-cli": "^3.3.5"
+ "webpack-cli": "^3.3.5"
}
}