views

package
v0.0.0-...-dd3fdab Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	vecty.Core
	Ctx  actions.Context `vecty:"prop"`
	Info string          `vecty:"prop"`
	// contains filtered or unexported fields
}

func (*Body) Render

func (b *Body) Render() vecty.ComponentOrHTML

type Landing

type Landing struct {
	vecty.Core
	Shape model.Shape3D `vecty:"prop"`
}

func (*Landing) Render

func (l *Landing) Render() vecty.ComponentOrHTML

type PIPWindow

type PIPWindow struct {
	// Only Elem supported is HTMLVideoElement
	Elem     js.Value                                    `vecty:"prop"`
	OnResize func(width, height float64, e *vecty.Event) `vecty:"prop"`
}

PIPWindow implements https://developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API

func (*PIPWindow) RequestPIP

func (p *PIPWindow) RequestPIP() error

RequestPIP is called when the PIP functionality is desired.

Jump to

Keyboard shortcuts

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