card

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 Card

type Card struct {
	app.Compo
	base.JsUtil
	Id            string
	Width         int
	Height        int
	Outlined      bool
	Padding       int
	PrimaryAction []app.UI
	ActionButtons []app.UI
	ActionIcons   []app.UI
}

func (*Card) OnMount

func (c *Card) OnMount(_ app.Context)

func (*Card) Render

func (c *Card) Render() app.UI

type Media

type Media struct {
	app.Compo
	base.JsUtil
	Title  string
	Width  int
	Height int
	Image  string
}

Media represents a div of class mdc-card__media to be placed in the primary action section of a card.

func (*Media) Render

func (c *Media) Render() app.UI

Jump to

Keyboard shortcuts

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