dialog_component

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Link  string
	Title string
}

type DialogComponent

type DialogComponent struct {
	hiro.Component
	Props       Props                  `json:"-"`
	Cancel      Config                 `json:"-"`
	Submit      Config                 `json:"-"`
	HandlerFunc func(action Node) Node `json:"-"`
}

func (*DialogComponent) HandleClose

func (c *DialogComponent) HandleClose() error

func (*DialogComponent) HandleOpen

func (c *DialogComponent) HandleOpen() error

func (*DialogComponent) Mount

func (c *DialogComponent) Mount()

func (*DialogComponent) Name

func (c *DialogComponent) Name() string

func (*DialogComponent) Node

func (c *DialogComponent) Node() Node

type Props

type Props struct {
	Open  bool
	Title string
	Name  string
	Nodes []Node
}

Jump to

Keyboard shortcuts

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