dialog

package
Version: v0.0.0-...-570bcb6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

https://material.io/components/web/catalog/dialogs/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type D

type D struct {
	*base.MDC
	vecty.Core
	Root       vecty.MarkupOrChild
	Header     string
	Body       vecty.ComponentOrHTML
	Role       string
	Open       bool
	NoBackdrop bool
	Scrollable bool
	AcceptBtn  *button.B
	CancelBtn  *button.B
	OnAccept   func(this *D, e *vecty.Event)
	OnCancel   func(this *D, e *vecty.Event)
}

D is a material dialog component.

func (*D) Apply

func (c *D) Apply(h *vecty.HTML)

func (*D) Render

func (c *D) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

Source Files

Jump to

Keyboard shortcuts

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