datatable

package
v0.0.0-...-1bbb42b Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C struct {
	Label vecty.ComponentOrHTML
	Root  vecty.MarkupList
}

type DT

type DT struct {
	*base.MDC
	vecty.Core
	Root vecty.MarkupOrChild `vecty:"prop"`
	Head []*C                `vecty:"prop"`
	Rows []*R                `vecty:"prop"`
}

TB is a vecty-material datatable component.

func (*DT) Apply

func (c *DT) Apply(h *vecty.HTML)

func (*DT) Render

func (c *DT) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type R

type R struct {
	vecty.Core
	Cells []*C   `vecty:"prop"`
	K     string `vecty:"prop"`
}

func (*R) Key

func (c *R) Key() interface{}

func (*R) Render

func (c *R) Render() vecty.ComponentOrHTML

Jump to

Keyboard shortcuts

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