mdc

package
v0.0.0-...-6663876 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppBarMainClass       = "mdc-top-app-bar--fixed-adjust"
	AppBarNavigationClass = "mdc-top-app-bar__navigation-item"
	AppBarActionClass     = "mdc-top-app-bar__action-item"
)
View Source
const (
	CardPrimaryAction         = "mdc-card__primary-action"
	CardActionsClass          = "mdc-card__actions"
	CardActionsFullBleedClass = "mdc-card__actions--full-bleed"
	CardActionClass           = "mdc-card__action"
	CardActionButtonsClass    = "mdc-card__action-buttons"
	CardActionButtonClass     = "mdc-card__action--button"
	CardActionIconsClass      = "mdc-card__action-icons"
	CardActionIconClass       = "mdc-card__action--icon"
	CardMediaClass            = "mdc-card__media"
	CardMediaSquareClass      = "mdc-card__media--square"
	CardMedia16by9Class       = "mdc-card__media--16-9"
	CardMediaContentClass     = "mdc-card__media"
)
View Source
const (
	ListItemGraphicClass = "mdc-deprecated-list-item__graphic"
	ListItemMetaClass    = "mdc-deprecated-list-item__meta"
)
View Source
const (
	BannerGraphicClass = "mdc-banner__icon"
)
View Source
const (
	FABIconClass = "mdc-fab__icon"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IAppBar

type IAppBar interface {
	app.UI

	ID(string) IAppBar
	NavIcon(app.UI) IAppBar
	Title(string) IAppBar
	Actions(...app.UI) IAppBar
}

func AppBarTop

func AppBarTop() IAppBar

type IBanner

type IBanner interface {
	app.UI

	ID(string) IBanner
	Class(...string) IBanner
	Fixed(bool) IBanner
	Text(string) IBanner
	Graphic(app.UI) IBanner
	Actions(...app.UI) IBanner

	Open() IBanner
	Close() IBanner
}
func Banner() IBanner

type IButton

type IButton interface {
	app.UI

	ID(string) IButton
	Label(string) IButton
	Raised(bool) IButton
	Outlined(bool) IButton
	LeadingIcon(string) IButton
	TrailingIcon(string) IButton
	OnClick(app.EventHandler) IButton
	Class(...string) IButton
}

func Button

func Button() IButton

type ICard

type ICard interface {
	app.UI

	ID(string) ICard
	Class(...string) ICard
	Outlined(bool) ICard
	ActionFullBleed(bool) ICard
	Contents(...app.UI) ICard
	Buttons(...app.UI) ICard
	Icons(...app.UI) ICard
	OnClick(app.EventHandler) ICard
}

func Card

func Card() ICard

type ICardMedia

type ICardMedia interface {
	app.UI

	ID(string) ICardMedia
	Class(...string) ICardMedia
	Image(string) ICardMedia
	Contents(...app.UI) ICardMedia
}

func CardMedia

func CardMedia() ICardMedia

type IDrawer

type IDrawer interface {
	app.UI

	ID(string) IDrawer
	Class(...string) IDrawer
	Title(string) IDrawer
	Subtitle(string) IDrawer
	Content(...app.UI) IDrawer
	Dismissible(bool) IDrawer

	ToggleOpen()
}

func Drawer

func Drawer() IDrawer

type IFAB

type IFAB interface {
	app.UI

	ID(string) IFAB
	Label(string) IFAB
	Icon(app.UI) IFAB
	OnClick(app.EventHandler) IFAB
}

func FAB

func FAB() IFAB

type IIconButton

type IIconButton interface {
	app.UI

	ID(string) IIconButton
	Icon(string) IIconButton
	OnClick(app.EventHandler) IIconButton

	Class(...string) IIconButton
}

func IconButton

func IconButton() IIconButton

type IIconButtonToggle

func IconButtonToggle

func IconButtonToggle() IIconButtonToggle

type IList

type IList interface {
	app.UI

	ID(string) IList
	Items(...app.UI) IList
}

func List

func List() IList

func ListTwoLine

func ListTwoLine() IList
func NavList() IList
func NavListTwoLine() IList

type IListItem

type IListItem interface {
	app.UI

	ID(string) IListItem
	Text(string) IListItem
	Graphic(app.UI) IListItem
	Meta(app.UI) IListItem
	OnClick(app.EventHandler) IListItem
}

func ListItem

func ListItem() IListItem
func NavListItem() IListItem

type IListItemTwoLine

type IListItemTwoLine interface {
	app.UI

	ID(string) IListItemTwoLine
	Text(string) IListItemTwoLine
	Graphic(app.UI) IListItemTwoLine
	Meta(app.UI) IListItemTwoLine
	OnClick(app.EventHandler) IListItemTwoLine

	SecondaryText(string) IListItemTwoLine
}

func ListItemTwoLine

func ListItemTwoLine() IListItemTwoLine
func NavListItemTwoLine() IListItemTwoLine

Jump to

Keyboard shortcuts

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