package
0.0.0-20240930014119-4fed34204df3
Repository: https://github.com/swdunlop/html-go.git
Documentation: pkg.go.dev

# Functions

Render parses the X-Alpine-Target header and returns a html.Group containing only the requested parts, in the order they were specified as arguments to render.
RenderPage renders a full page if the X-Alpine-Target header is not present, otherwise, it uses Render to render the requested parts of the page.

# Interfaces

The Part interface describes a part of a page with an ID that can be requested by an Alpine AJAX client.

# Type aliases

PartMap is a map of parts by ID provided to a page function by RenderPage.