{"id":17035865,"url":"https://github.com/dabeng/vue-basics","last_synced_at":"2026-04-26T16:31:49.205Z","repository":{"id":76025379,"uuid":"138265590","full_name":"dabeng/vue-basics","owner":"dabeng","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-22T06:52:40.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T22:42:40.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dabeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-22T06:46:49.000Z","updated_at":"2018-06-22T06:52:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"34973ae2-8931-433b-9482-a46bcbf78fe6","html_url":"https://github.com/dabeng/vue-basics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dabeng/vue-basics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabeng%2Fvue-basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabeng%2Fvue-basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabeng%2Fvue-basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabeng%2Fvue-basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabeng","download_url":"https://codeload.github.com/dabeng/vue-basics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabeng%2Fvue-basics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T08:48:23.702Z","updated_at":"2026-04-26T16:31:49.188Z","avatar_url":"https://github.com/dabeng.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-basics\n#### Difference between v-model and v-bind:value\n```html\n\u003cinput v-model=\"something\"\u003e\n```\n```html\n\u003cinput\n   v-bind:value=\"something\"\n   :value=\"something\" (shorthand syntax)\n   v-on:input=\"something = $event.target.value\"\n   @input=\"something = $event.target.value\" (shorthand)\n\u003e\n```\nSo v-model is a two-way binding for form inputs. It combines v-bind, which brings a js value into the markup, and v-on:input to update the js value.\n\nUse v-model when you can. Use v-bind/v-on when you must.\n\nv-model [works with all the basic HTML input types](https://vuejs.org/v2/guide/forms.html) (text, textarea, number, radio, checkbox, select).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabeng%2Fvue-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabeng%2Fvue-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabeng%2Fvue-basics/lists"}