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"
Click to show internal directories.
Click to hide internal directories.