Documentation
¶
Overview ¶
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
Index ¶
- func ClearSearchButton(dt Datatable) templ.Component
- func LazyDataTable(dt Datatable, classes string) templ.Component
- func OrderableHeaderComponent(dt Datatable, label string, name string) templ.Component
- func PaginationCenterComponent(dt Datatable) templ.Component
- func PaginationComponent(dt Datatable) templ.Component
- func PaginationLeftComponent(dt Datatable) templ.Component
- func PaginationRightComponent(dt Datatable) templ.Component
- func ScopeComponent(dt Datatable, scope string) templ.Component
- func ScopeDudComponent(dt Datatable, scope string) templ.Component
- func ScopesComponent(dt Datatable) templ.Component
- func SearchComponent(dt Datatable) templ.Component
- func TableFooterComponent(dt Datatable, nbrElements int, nbrCol int) templ.Component
- type Datatable
- type FilterParams
- type Pagination
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearSearchButton ¶
func OrderableHeaderComponent ¶
OrderableHeaderComponent is a component that renders a table header that can be clicked to sort the table
func PaginationComponent ¶
func PaginationLeftComponent ¶
func ScopeComponent ¶ added in v0.1.3
func ScopeDudComponent ¶ added in v0.1.3
func ScopesComponent ¶ added in v0.1.3
func SearchComponent ¶
Types ¶
type Datatable ¶
type Datatable struct {
Pagination
FilterParams
// contains filtered or unexported fields
}
func NewDatatable ¶
type FilterParams ¶
type FilterParams struct {
Page int
Sort string
Order string
Search string
Scope string
Scopes []string
}
func (FilterParams) String ¶
func (rp FilterParams) String(url string) string
type Pagination ¶
Click to show internal directories.
Click to hide internal directories.