autosync

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

View Source
const (
	InitialCheckedFalse = iota
	InitialCheckedTrue
	InitialCheckedAuto
)

Variables

This section is empty.

Functions

func NewLazyWrapComponentFunc

func NewLazyWrapComponentFunc(config func(obj interface{}, field *presets.FieldContext, ctx *web.EventContext) *Config) func(in presets.FieldComponentFunc) presets.FieldComponentFunc

func SyncCallSlug

func SyncCallSlug(from string) string

Types

type Config

type Config struct {
	SyncFromFromKey string
	CheckboxLabel   string
	InitialChecked  InitialChecked
	SyncCall        func(from string) string
}

type InitialChecked

type InitialChecked int

Jump to

Keyboard shortcuts

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