web.components.layout #
Layout
Layouts are components that arrange the entire view of the DOM.
Wiki
Site
App
struct DashboardLayout #
struct DashboardLayout {
pub mut:
navbar Navbar
sidebar IComponent
main IComponent
content elements.Doc
markdown MarkdownContent
}
fn (DashboardLayout) html #
fn (layout DashboardLayout) html() string
struct GridLayout #
struct GridLayout {
pub:
components []IComponent
}
fn (GridLayout) html #
fn (layout GridLayout) html() string
struct Layout #
struct Layout {
pub:
components []IComponent
}
fn (Layout) html #
fn (layout Layout) html() string
struct SidebarLayout #
struct SidebarLayout {
pub:
sidebar Sidebar
components []IComponent
}
fn (SidebarLayout) html #
fn (layout SidebarLayout) html() string
struct SiteLayout #
struct SiteLayout {
pub mut:
navbar Navbar
main IComponent
content elements.Doc
markdown MarkdownContent
}