dom

package
v0.0.0-...-f176e38 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TryPatch

func TryPatch(ctx context.Context, el *Element, termFile *fskit.StreamFile) error

Types

type Element

type Element struct {
	// contains filtered or unexported fields
}

func (*Element) ID

func (r *Element) ID() string

func (*Element) Open

func (r *Element) Open(name string) (fs.File, error)

func (*Element) OpenContext

func (r *Element) OpenContext(ctx context.Context, name string) (fs.File, error)

func (*Element) Value

func (r *Element) Value() js.Value

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(k *wanix.K) *Service

func (*Service) Open

func (d *Service) Open(name string) (fs.File, error)

func (*Service) OpenContext

func (d *Service) OpenContext(ctx context.Context, name string) (fs.File, error)

func (*Service) Register

func (d *Service) Register(kind string, factory func([]string) (fs.FS, error))

func (*Service) ResolveFS

func (d *Service) ResolveFS(ctx context.Context, name string) (fs.FS, string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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