js

package
v0.0.0-...-9038b1f Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Foundation

type Foundation struct {
	// contains filtered or unexported fields
}

func Attach

func Attach(name MDCName, element dom.Element) Foundation

Attach invokes new mdc.<name>.MDC<Name> to apply the material web foundation magic

func (Foundation) IsValid

func (f Foundation) IsValid() bool

func (Foundation) Release

func (f Foundation) Release()

func (Foundation) Unwrap

func (f Foundation) Unwrap() js.Value

type MDCName

type MDCName string
const Checkbox MDCName = "checkbox"
const DataTable MDCName = "dataTable"
const Dialog MDCName = "dialog"
const Drawer MDCName = "drawer"
const FormField MDCName = "formField"
const LinearProgress MDCName = "linearProgress"
const List MDCName = "list"
const Menu MDCName = "menu"
const MenuSurface MDCName = "menuSurface"
const Ripple MDCName = "ripple"
const Select MDCName = "select"
const Snackbar MDCName = "snackbar"
const TabBar MDCName = "tabBar"
const TabScroller MDCName = "tabScroller"
const TextField MDCName = "textField"
const TopAppBar MDCName = "topAppBar"

Jump to

Keyboard shortcuts

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