dialog_component

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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
	Submitable bool
	Title      string
	Name       string
	Content    Node
}

Jump to

Keyboard shortcuts

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