--- url: /reference/items/DataBind/js-api.md --- # JS API The `DataBind` component can be used to keep a value in sync between multiple DOM elements. ## Options ### `prop` * Type: `string` * Default: `'textContent'` The default value for the `prop` option depends on the type of the targeted element. If the element is an input, a textarea, or a select, the default prop will be one of the following: * `valueAsDate` for `` * `valueAsNumber` for `` * `value` for all other inputs * for `