Documentation
¶
Index ¶
Constants ¶
View Source
const ( LayoutRoot = "root" LayoutDashboard = "dashboard" LayoutSettings = "settings" LayoutBase = "base" LayoutFull = "full" )
Layout name constants used for registration and route assignment.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LayoutConfig ¶
type LayoutConfig struct {
Title string
CustomCSS string
BridgeEndpoint string
EnableBridge bool
EnableSearch bool
EnableRealtime bool
}
LayoutConfig holds configuration for all dashboard layouts.
type LayoutManager ¶
type LayoutManager struct {
// contains filtered or unexported fields
}
LayoutManager registers and manages all dashboard layouts with forgeui.
func NewLayoutManager ¶
func NewLayoutManager(fuiApp *forgeui.App, basePath string, registry *contributor.ContributorRegistry, config LayoutConfig) *LayoutManager
NewLayoutManager creates a LayoutManager and registers all five layouts with the forgeui application. The "dashboard" layout is set as the default.
Click to show internal directories.
Click to hide internal directories.