examples

package
v0.0.0-20260608 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	livewire.BaseComponent
	Count int
}

Counter is a ready-to-use Livewire-style component example. Copy this file into your project (e.g. app/Livewire/Counter.go) and adjust the package name.

func (*Counter) Decrement

func (c *Counter) Decrement()

func (*Counter) Increment

func (c *Counter) Increment()

func (*Counter) Mount

func (c *Counter) Mount()

func (*Counter) Render

func (c *Counter) Render() string

func (*Counter) Reset

func (c *Counter) Reset()

Jump to

Keyboard shortcuts

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