components

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C4EntityCard added in v0.0.11

func C4EntityCard(entity shared.EntityState, isDetailed bool) templ.Component

C4EntityCard is a robust entity component that combines telemetry and video It can optionally show a detailed view with expanded telemetry and video player

func C4EntityCardScript added in v0.0.11

func C4EntityCardScript() templ.Component

C4EntityCardScript contains the JS logic for card interaction (toggle detail view). WHEP video connection is handled by the shared WHEPScript (video_player.templ).

func Navigation(activeTab string) templ.Component

func VideoPlayer added in v0.0.18

func VideoPlayer(entityID string, webrtcURL string) templ.Component

VideoPlayer renders a WHEP video player for a given entity. This is the single shared video component used by the video page, overwatch, and map. The WHEPScript MutationObserver auto-connects when the player appears in the DOM.

func WHEPScript added in v0.0.18

func WHEPScript() templ.Component

WHEPScript provides unified WHEP connection management JS. Include once per page that needs video playback. Uses a MutationObserver to auto-connect new .video-player elements added via SSE PatchElements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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