modal

package
v0.2.1-0...-dabd69d Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modal struct {
	Title          string
	Body           string
	Editable       bool
	CursorPosition int

	ScrollPosition int
}

func (*Modal) Reset

func (m *Modal) Reset()

Called when the modal is originally opened, to reset the state from the previous use.

func (*Modal) SetContent

func (m *Modal) SetContent(data string)

Jump to

Keyboard shortcuts

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