registry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Explorer = mvc.EventListener(co.Define(&explorerComponent{}))
View Source
var Item = co.Define(&itemComponent{})
View Source
var Modal = co.Define(&modalComponent{})
View Source
var Toolbar = mvc.EventListener(co.Define(&toolbarComponent{}))

Functions

This section is empty.

Types

type ExplorerData

type ExplorerData struct {
	RegistryModel *registry.Model
}

type ItemCallbackData

type ItemCallbackData struct {
	OnClick std.OnActionFunc
}

type ItemData

type ItemData struct {
	Selected bool
	Icon     *ui.Image
	Text     string
}

type ModalCallbackData

type ModalCallbackData struct {
	OnApply func(name string, kind registry.ResourceKind)
}

type ModalData

type ModalData struct {
	Name          string
	Kind          registry.ResourceKind
	CanChangeKind bool
}

type ToolbarData

type ToolbarData struct {
	RegistryModel *registry.Model
}

Jump to

Keyboard shortcuts

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