# ✨ useBind
useBind
is a function that binds data into component
# 🍁 Usage
The useBind
function is used as the following reactive state:
import { useBind } from 'vue-composable-utils';
const { value, changed, reset } = useBind('Type a here....');
# 🚀 Features
The initial value is sent to the function useBind()
.
useBind
has 3 reactive properties
Name | Description |
---|---|
value | The value that is going to be binded. |
changed | The value that is going to be changed. |
reset | The method that returns to initial values. |
# 💐 Example
You can see how it changes reactively using the example below.
Value: Type here....
Select: Type a here....