notification_modal

package
v0.0.0-...-a44c12d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLOSE_AFTER_DEFAULT = 3 * time.Second

Functions

func LoadInstance

func LoadInstance()

func Open

func Open(params Params)

Types

type Params

type Params struct {
	Type       Type
	Title      string
	Text       string
	CloseAfter time.Duration
}

type Type

type Type string
var (
	ERROR   Type = "error"
	SUCCESS Type = "success"
	INFO    Type = "info"
)

Jump to

Keyboard shortcuts

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