alert

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Package alert wraps Bootstrap Alert component

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	*bs.Component
}

Alert represents Bootstrap alert component.

func New

func New(style bs.Style, close bool, content ...interface{}) *Alert

New returns alert component.

func Show

func Show(parent *bs.Component, style bs.Style, close bool, content ...interface{}) *Alert

Show ...

func (*Alert) Alert

func (a *Alert) Alert() *Alert

Alert shows alert component.

func (*Alert) Close

func (a *Alert) Close() *Alert

Close hide and dispose alert component.

func (*Alert) OnClose

func (a *Alert) OnClose(cb func(_this *Alert)) *Alert

OnClose add on close event.

Jump to

Keyboard shortcuts

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