fab

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fab

type Fab struct {
	app.Compo
	base.JsUtil
	Id       string
	Icon     icon.MaterialIcon
	Label    string
	Extended bool
	Mini     bool
	// contains filtered or unexported fields
}

func New

func New(id string, icon icon.MaterialIcon) *Fab

func (*Fab) OnMount

func (b *Fab) OnMount(ctx app.Context)

func (*Fab) Render

func (b *Fab) Render() app.UI

func (*Fab) WithCallback

func (b *Fab) WithCallback(cb func(button app.HTMLButton)) *Fab

func (*Fab) WithOnMount

func (b *Fab) WithOnMount(cb func(ctx app.Context)) *Fab

Jump to

Keyboard shortcuts

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