--- url: /reference/items/DataScope/js-api.md --- # JS API The `DataScope` component defines a local boundary for Data groups and stores keyed values in frozen `$data` snapshots. ## Options ### `group` * Type: `string` * Default: `'default'` The `group` option defines the group inherited by descendant Data components that do not set their own `data-option-group`. Each group belongs to its nearest `DataScope`. Two scopes can therefore use the same group name without sharing values. An explicit group on a descendant creates another isolated group within the same scope. ## Keys Inside a scope, a Data component resolves its key from: 1. its `data-option-key` option; 2. the native `name` of an ``, `