Valtimo Carbon List
Valtimo Carbon List
Setting up a simple list
... import {CarbonListModule} from '@valtimo/components' ... @NgModule({ ... imports: [ ... CarbonListModule, ... ] }) export class SampleModule<valtimo-carbon-list [items]="items" [fields]="fields" ></valtimo-carbon-list>... import {ColumnConfig, ViewType} from '@valtimo/components'; ... export class SampleComponent { ... public fields: Array<ColumnConfig> = [ { viewType: ViewType.TEXT, key: 'title', // this could be a translation key or just a static label label: 'sample.translation.title', }, { viewType: ViewType.TEXT, key: 'description', label: 'sample.translation.description', },F ]; public items: Array<any> = [ { title: 'sample-title-1', description: 'sample-description-1', }, { title: 'sample-title-2', description: 'sample-description-2', } ]; ... }

Clicking on rows
No results view
Overview of the @Input and @Output fields of the CarbonListComponent
@Input and @Output fields of the CarbonListComponentInputs
Property
Type
Required
Default
Description
Outputs
Property
Type
Description
Last updated

