Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
Field string // Go field name (CamelCase)
Attr string // HTML attribute name (kebab-case)
Type string // "string" or "bool"
}
Attribute represents an SVG element attribute
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader handles loading and parsing of SVG specification from gostar
func (*Loader) CollectAllAttributes ¶
CollectAllAttributes collects unique attributes from all SVG tag specs
func (*Loader) LoadAllTagSpecs ¶
LoadAllTagSpecs loads all SVG tag specifications from gostar data
func (*Loader) LoadGlobalAttributes ¶
LoadGlobalAttributes loads SVG global attributes from gostar data
type SvgElementAttributes ¶
SvgElementAttributes represents the structure from wooorm/svg-element-attributes
Click to show internal directories.
Click to hide internal directories.