svg

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get added in v0.5.0

func Get(name string, mods ...htm.Mod) *htm.Node

func Init

func Init(fs fs.FS, hotReload bool) error

Init initializes a package-level instance to allow direct usage of package function Get.

Types

type Comp

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

func New

func New(fs fs.FS, hotReload bool) (*Comp, error)

func (*Comp) Get added in v0.5.0

func (c *Comp) Get(name string, mods ...htm.Mod) *htm.Node

Jump to

Keyboard shortcuts

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