Skip to content

Releases: ZarehD/RazorViewComponent

v1.2.0

07 Dec 03:30

Choose a tag to compare

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

06 Dec 04:41

Choose a tag to compare

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.

v1.0.0

05 Dec 03:51

Choose a tag to compare

Initial Release

Component-based UI development in Razor Pages, made easy.