lenses

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LensMetadataCard added in v0.1.21

func LensMetadataCard(props LensMetadataCardProps) htmx.Node

LensMetadataCard ...

func LensesPublishButton added in v0.1.27

func LensesPublishButton(props LensesPublishButtonProps) htmx.Node

LensesPublishButton ...

func LensesStatus added in v0.1.27

func LensesStatus(props LensesStatusProps, children ...htmx.Node) htmx.Node

LensesStatus ...

func LensesTable

func LensesTable(props LensesTableProps, children ...htmx.Node) htmx.Node

LensesTable ...

func NewLensModal added in v0.1.16

func NewLensModal(props NewLensModalProps) htmx.Node

NewLensModal ...

func Search(p SearchProps, children ...htmx.Node) htmx.Node

Search ...

Types

type LensMetadataCardProps added in v0.1.21

type LensMetadataCardProps struct {
	Lens models.Lens
}

LensMetadataCardProps ...

type LensesPublishButtonProps added in v0.1.27

type LensesPublishButtonProps struct {
	// ClassNames ...
	ClassNames htmx.ClassNames
	// ID ...
	ID uuid.UUID
	// IsDraft ...
	IsDraft bool
}

LensesPublishButtonProps ...

type LensesStatusProps added in v0.1.27

type LensesStatusProps struct {
	// ClassNames ...
	ClassNames htmx.ClassNames
	// IsDraft ...
	IsDraft bool
}

LensesStatusProps ...

type LensesTableProps

type LensesTableProps struct {
	Lenses []*models.Lens
	URL    string
	Offset int
	Limit  int
	Total  int
}

LensesTableProps ...

type NewLensModalProps added in v0.1.16

type NewLensModalProps struct{}

NewLensModalProps ...

type SearchProps

type SearchProps struct {
	ClassNames htmx.ClassNames
	URL        string
	Limit      int
	Offset     int
	Search     string
	Sort       string
}

SearchProps ...

Jump to

Keyboard shortcuts

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