filelist

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented FileList")
	ErrNotAnFileList  = errors.New("Object is not a FileList")
)

Functions

func GetInterface

func GetInterface() js.Value

GetJSInterface get the JS interface of formdata

Types

type FileList

type FileList struct {
	baseobject.BaseObject
}

FileList struct

func NewFromJSObject

func NewFromJSObject(obj js.Value) (FileList, error)

func (FileList) FileList_

func (f FileList) FileList_() FileList

func (FileList) Item

func (f FileList) Item(index int) (file.File, error)

func (FileList) Length

func (f FileList) Length() (int, error)

func (FileList) Length_

func (f FileList) Length_() int

type FileListFrom

type FileListFrom interface {
	FileList_() FileList
}

Jump to

Keyboard shortcuts

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