@rxap/data-source
Version:
Provides a set of classes and decorators for creating and managing data sources in Angular applications, including base classes, static data sources, observable data sources, and method data sources. It also includes a component for displaying data source
40 lines (20 loc) • 1.33 kB
Markdown
[/data-source](../wiki/globals) / BaseDataSourceViewer
# Interface: BaseDataSourceViewer\<View\>
Defined in: [packages/angular/data-source/src/lib/base.data-source.ts:43](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/data-source/src/lib/base.data-source.ts#L43)
## Type Parameters
• **View** = `any`
## Indexable
\[`key`: `string`\]: `any`
## Properties
### id?
> `optional` **id**: `string`
Defined in: [packages/angular/data-source/src/lib/base.data-source.ts:44](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/data-source/src/lib/base.data-source.ts#L44)
***
### restore?
> `optional` **restore**: `boolean`
Defined in: [packages/angular/data-source/src/lib/base.data-source.ts:49](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/data-source/src/lib/base.data-source.ts#L49)
Indicates weather the data source should restore the last value from local storage
***
### viewChange?
> `optional` **viewChange**: `Observable`\<`View`\>
Defined in: [packages/angular/data-source/src/lib/base.data-source.ts:45](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/data-source/src/lib/base.data-source.ts#L45)