---
title: "Discussion on \"Example on 2-way binding on Vue3\" | Hashnode"
description: "Discussion on \"Example on 2-way binding on Vue3\". I want to set a timer looks like below.\n\nSo I have set it up like below.\n\nData type: TimeData.ts\n\nexport class TimeData {\n  hours: number = 0;\n  minutes: number = 0;\n  seconds: number = 0;\n}\n\n\nSet up the property as a model in the child component: Se..."
url: "https://hashnode.com/posts/example-on-2-way-binding-on-vue3/68721bce96fc4f20b2aeefeb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Example on 2-way binding on Vue3](https://thebrownbox.hashnode.dev/example-on-2-way-binding-on-vue3?utm_source=hashnode&utm_medium=feed)

I want to set a timer looks like below. So I have set it up like below. Data type: TimeData.ts export class TimeData { hours: number = 0; minutes: number = 0; seconds: number = 0; } Set up the property as a model in the child component: Se...

Jul 12, 2025 · 2 min read · thebrownbox.hashnode.dev  
Read the article

-   [#binding](https://hashnode.com/tag/binding)
-   [#vue](https://hashnode.com/tag/vue)
-   [#two-way-binding](https://hashnode.com/tag/two-way-binding)

## Written by

[The Brown Box](https://hashnode.com/@hoangvancong)

@hoangvancong

  
[View profile](https://hashnode.com/@hoangvancong)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
