Releases: ZarehD/RazorViewComponent
Releases · ZarehD/RazorViewComponent
v1.2.0
Changes
- Rename method: FindFirstParentOfType.
- Add Method: GetComponentsOfType.
- Modify GetComponentStack: add guard method calls.
- Refactor ProcessAsync: split into virtual methods, ProcessChildContentAsync and ProcessComponentViewAsync.
- Add new sample component: Bootstrap Carousel
v1.1.0
Changes
- Add FindParentComponent method to find first parent component that matches specified type.
- Housekeeping:
- Merge RenderPartialView into ProcessAsync.
- Rename methods: GetComponentStack, SetComponentStack, HasSlot.
- Update HasSlot: base result only on whether the named slot has been added to the instance.
- Update RenderSlot: return default/empty content if specified slot doesn't exit.
- Add Bootstrap Accordion sample component to demonstrate nested components, and using a Razor Class Library (RCL) to package UI components.