monitor

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	MutationSelector     string
	IntersectionSelector string
	IntersectionOpts     jst.Value

	Mutations     chan jst.Value
	Intersections chan jst.Value
}

Plugin observes DOM mutations and intersections and exposes channels for monitoring.

func New

func New(mSel, iSel string, opts jst.Value) *Plugin

New creates a new monitoring plugin.

func (*Plugin) Install

func (p *Plugin) Install(a *core.App)

Install hooks into the application and start observers.

Jump to

Keyboard shortcuts

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