showcase

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCharts

func HandleCharts(w http.ResponseWriter, r *http.Request)

func HandleCode

func HandleCode(w http.ResponseWriter, r *http.Request)

HandleCode demonstrates the code-block widget across a few popular languages.

func HandleDeck

func HandleDeck(w http.ResponseWriter, r *http.Request)

HandleDeck demonstrates the deck of cards widget.

func HandleDirEdit

func HandleDirEdit(w http.ResponseWriter, r *http.Request)

func HandleDirList

func HandleDirList(w http.ResponseWriter, r *http.Request)

HandleDirList shows a list of persons in a table.

func HandleFiniteProgressStatus

func HandleFiniteProgressStatus(w http.ResponseWriter, r *http.Request)

HandleFiniteProgressStatus provides the status of a progress bar.

func HandleFormInput

func HandleFormInput(w http.ResponseWriter, r *http.Request)

handleFormInput demonstrates the use of a form with input fields.

func HandleFormValidation

func HandleFormValidation(w http.ResponseWriter, r *http.Request)

handleFormValidation demonstrates client-side and server-side form validation.

func HandleGallery

func HandleGallery(w http.ResponseWriter, r *http.Request)

handleGallery demonstrates the gallery widget.

func HandleHome

func HandleHome(w http.ResponseWriter, r *http.Request)

HandleHome renders the showcase overview as a responsive 1/2/4-column deck of outlined cards, ordered from simpler concepts to more complex. Each card has a leading icon (matching the side-menu icon) and three modality launchers: open in the same window, in a modal dialog, or in a side panel.

func HandleInfiniteProgressStatus

func HandleInfiniteProgressStatus(w http.ResponseWriter, r *http.Request)

HandleInfiniteProgressStatus provides the status of a progress bar.

func HandleMermaid

func HandleMermaid(w http.ResponseWriter, r *http.Request)

func HandleNavigation

func HandleNavigation(w http.ResponseWriter, r *http.Request)

HandleToolbar demonstrates the toolbar widget.

func HandleProgress

func HandleProgress(w http.ResponseWriter, r *http.Request)

HandleProgress demonstrates the progress widget.

func HandleQueryStates

func HandleQueryStates(w http.ResponseWriter, r *http.Request)

HandleQueryStates queries the list of states in order to support a chips input widget.

func HandleReceiver

func HandleReceiver(w http.ResponseWriter, r *http.Request)

handleFormInput demonstrates the use of a form with input fields.

func HandleState

func HandleState(w http.ResponseWriter, r *http.Request)

HandleState display stats about a single state.

func HandleStates

func HandleStates(w http.ResponseWriter, r *http.Request)

HandleStates renders an interactive table listing stats about the 50 US States and the District of Columbia. The table supports sorting, pagination, page sizing, and quick searching.

func HandleTabSwitcher

func HandleTabSwitcher(w http.ResponseWriter, r *http.Request)

HandleTabSwitcher demonstrates the tab widget.

func HandleTextFormatting

func HandleTextFormatting(w http.ResponseWriter, r *http.Request)

handleTextFormatting demonstrates text formatting.

func HandleToolbar

func HandleToolbar(w http.ResponseWriter, r *http.Request)

HandleToolbar demonstrates the toolbar widget.

func Init

func Init(m *http.ServeMux) error

Init registers the web handlers with the global mux.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL