--- url: /reference/items/DataModel/js-api.md --- # DataModel JS API The `DataModel` component has the same public API as the [`DataBind` component](../DataBind/js-api.md). It [dispatches](#dispatch) its current value to related instances in the same group when an `input` event is triggered on its root element. ## Keyed and mirrored models Inside a [`DataScope`](../DataScope/index.md), a `DataModel` is a source for its resolved key. Non-radio models with the same key mirror each other and jointly retain the value in the scope: ```html