/*{"parent": "binding-to-the-dom", "order": 3, "title": "Built-in Bindings", "description": "The built-in collection of common bindings: value (two-way), text, enabled, disabled, list — plus how to write your own."}*/
/*#
# Built-in Bindings (bindings)
`bindings` is simply a collection of common bindings.
You can create your own bindings easily enough (and add them to `bindings` if so desired).
A `binding` looks like this:
```
interface TosiBinding {
toDOM?: (element: HTMLElement, value: any, options?: TosiObject) => void
fromDOM?: (element: HTMLElement) => any
}
```
The `fromDOM` function is only needed for bindings to elements that trigger `change` or `input`
events, typically ``, `