fileinput

package module
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileType added in v0.0.14

func FileType() *model.Input

func FilterDataBy added in v0.0.23

func FilterDataBy(add bool, criterion string, data_in ...map[string]string) (data_out []map[string]string)

criterion ej: video,imagen,pdf add true, false remove only

func SavedMode added in v0.0.15

func SavedMode() *model.Input

Types

type FileInput added in v0.0.24

type FileInput struct {
	Object *model.Object

	model.Logger
	// contains filtered or unexported fields
}

func NewUploadFileApi added in v0.0.25

func NewUploadFileApi(h *model.MainHandler, o *model.Object, s filehandler.FileSetting) (F *FileInput, err string)

func (FileInput) BuildContainerView added in v0.0.24

func (f FileInput) BuildContainerView(id, field_name string, allow_skip_completed bool) string

func (FileInput) BuildItemsView added in v0.0.31

func (f FileInput) BuildItemsView(all_data ...map[string]string) (html string)

func (FileInput) CameraTurn added in v0.0.24

func (f FileInput) CameraTurn(on bool)

func (FileInput) HtmlName added in v0.0.24

func (FileInput) HtmlName() string

func (FileInput) Input added in v0.0.24

func (f FileInput) Input() *model.Input

func (FileInput) InputEnable added in v0.0.24

func (f FileInput) InputEnable() (err string)

func (FileInput) NameViewAdapter added in v0.0.31

func (f FileInput) NameViewAdapter() string

func (FileInput) ResetFrontendObjectState added in v0.0.46

func (f FileInput) ResetFrontendObjectState() (err string)

func (FileInput) SetAllowedExtensions added in v0.0.28

func (f FileInput) SetAllowedExtensions()

func (FileInput) SetObjectInDomAfterDelete added in v0.0.24

func (f FileInput) SetObjectInDomAfterDelete(data ...map[string]string) (err string)

Jump to

Keyboard shortcuts

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