utils

package
v0.0.0-...-66b229c Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributesAppend

type AttributesAppend struct {
	AttrMap vugu.AttrMap

	Classes string
}

AttributesAppend can be used to dynamically add entries to AttrMap attributes. This way you can add a class to a component that will not be overwritten by attributes set by the parent.

func (AttributesAppend) AttributeList

func (a AttributesAppend) AttributeList() (ret []vugu.VGAttribute)

AttributeList returns an attribute list corresponding to this map using the rules from VGNode.AddAttrInterface.

Jump to

Keyboard shortcuts

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