drawers

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drawer

func Drawer(p DrawerProps, children ...htmx.Node) htmx.Node

Drawer is a component that renders a drawer

func DrawerContent

func DrawerContent(p DrawerContentProps, children ...htmx.Node) htmx.Node

DrawerContent is a component that renders a drawer content

func DrawerOpenButton

func DrawerOpenButton(p DrawerOpenProps, children ...htmx.Node) htmx.Node

DrawerOpenButton is a component that renders a drawer open button

func DrawerSide

func DrawerSide(p DrawerSideProps, children ...htmx.Node) htmx.Node

DrawerSide is a component that renders a drawer side

func DrawerSideMenu

func DrawerSideMenu(p DrawerSideMenuProps, children ...htmx.Node) htmx.Node

DrawerSideMenu is a component that renders a drawer side menu

func DrawerSideMenuItem

func DrawerSideMenuItem(p DrawerSideMenuItemProps, children ...htmx.Node) htmx.Node

DrawerSideMenuItem is a component that renders a drawer side menu item

Types

type DrawerContentProps

type DrawerContentProps struct {
	ID         string
	ClassNames htmx.ClassNames
}

DrawerContentProps is the props for the DrawerContent component

type DrawerOpenProps

type DrawerOpenProps struct {
	ID         string
	ClassNames htmx.ClassNames
}

DrawerOpenProps is the props for the DrawerOpen component

type DrawerProps

type DrawerProps struct {
	ID         string
	ClassNames htmx.ClassNames
	DrawerSide []htmx.Node
}

DrawerProps is the props for the Drawer component

type DrawerSideMenuItemProps

type DrawerSideMenuItemProps struct {
	ID         string
	ClassNames htmx.ClassNames
}

DrawerSideMenuItemProps is the props for the DrawerSideMenuItem component

type DrawerSideMenuProps

type DrawerSideMenuProps struct {
	ID         string
	ClassNames htmx.ClassNames
}

DrawerSideMenuProps is the props for the DrawerSideMenu component

type DrawerSideProps

type DrawerSideProps struct {
	ID         string
	ClassNames htmx.ClassNames
}

DrawerSideProps is a component that renders a drawer side

Jump to

Keyboard shortcuts

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