view

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Video     = view.Video
	Audio     = view.Audio
	Image     = view.Image
	ImageGrid = view.ImageGrid
	Timeline  = view.Timeline
	Markdown  = view.Markdown
	Text      = view.Text
	JSON      = view.JSON
	Document  = view.Document
	Diagram   = view.Diagram
	Slides    = view.Slides
	Table     = view.Table
	Download  = view.Download
)

Variables

This section is empty.

Functions

func Describe

func Describe(p Primitive) string

Types

type ActionDefinition

type ActionDefinition = view.ActionDefinition

type Card

type Card = view.Card

type Primitive

type Primitive = view.Primitive

Aliases to pkg/view to preserve backwards compatibility.

func All

func All() []Primitive

func FromMediaType

func FromMediaType(mt string) Primitive

type Registry

type Registry = view.Registry

func NewRegistry

func NewRegistry() *Registry

type SectionDefinition

type SectionDefinition = view.SectionDefinition

type ViewDefinition

type ViewDefinition = view.ViewDefinition

Jump to

Keyboard shortcuts

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