package
0.1.1
Repository: https://github.com/johnsiilver/webgear.git
Documentation: pkg.go.dev

# Packages

Package viewer provides a library to make rendering just your component a snap so that it is easy to view visual changes quickly without loading up an entire website.

# Functions

AddGear adds another Gear that will be called before this gear is called.
ApplyDataFunc adds a function that populates the html.Pipeline.GearData attribute on Execute() calls.
New creates a new Gear object called "name" using the HTML provided by the doc passed.

# Structs

Gear is a shadow-dom component.

# Type aliases

DataFunc represents a function that provides data in the html.Pipeline.GearData.
Option is an optional argument to the New() constructor.