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
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 ¶
func VideoPlayer ¶ added in v0.0.18
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
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.