aria-grid-demo: live examples of @jambotron/aria-grid with Jambotron light/dark and Synthwave themes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
||||
import { JtSelectComponent, JtSelectOption } from '@jambotron/aria-grid';
|
||||
import { BasicExampleComponent } from './examples/basic-example';
|
||||
import { BulkExampleComponent } from './examples/bulk-example';
|
||||
import { RowActionsExampleComponent } from './examples/row-actions-example';
|
||||
import { Lang, lang } from './i18n/labels';
|
||||
import { THEMES, ThemeService } from './theme/theme.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [JtSelectComponent, BasicExampleComponent, BulkExampleComponent, RowActionsExampleComponent],
|
||||
templateUrl: './app.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class App {
|
||||
protected readonly theme = inject(ThemeService).theme;
|
||||
protected readonly themes = THEMES;
|
||||
protected readonly lang = lang;
|
||||
protected readonly langs: JtSelectOption<Lang>[] = [
|
||||
{ value: 'en', label: 'English' },
|
||||
{ value: 'ru', label: 'Русский' }
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user