AyCode.Blazor/AyCode.Blazor.Components/Components/CardViews
Loretta 85dbb853c7 Update ToonTests to serialize type metadata only
Replaced AcToonSerializer.Serialize with SerializeTypeMetadata<FullProcessModel> in ToonTests. The test now serializes only the type metadata for FullProcessModel using the domain description, rather than serializing the actual data instance. Assertions and comments remain unchanged.
2026-03-28 17:25:12 +01:00
..
MgCardView.razor Add scroll-to-item support to MgCardView component 2026-03-23 05:32:15 +01:00
MgCardView.razor.cs Add scroll-to-item support to MgCardView component 2026-03-23 05:32:15 +01:00
MgCardView.razor.css Add scroll-to-item support to MgCardView component 2026-03-23 05:32:15 +01:00
README.md Update ToonTests to serialize type metadata only 2026-03-28 17:25:12 +01:00

README.md

CardViews

Generic card-based view component that renders items in a responsive CSS Grid layout with optional pagination, filtering, and scroll-to-item support.

Key Files

  • MgCardView.razor.cs -- MgCardView<TItem> component. Accepts Data, CardTemplate, responsive column counts (ColumnCountXs/Sm/Lg), optional pager (ShowPager, PageSize default 12), optional filter panel, container height, and ScrollToItem with JS interop for auto-scrolling. Fires OnCardClick when a card is tapped.

LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.