checkbox

package
Version: v0.0.0-...-570bcb6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CB

type CB struct {
	*base.MDC
	vecty.Core
	Root          vecty.MarkupOrChild
	Input         vecty.MarkupOrChild
	Background    vecty.MarkupOrChild
	OnChange      func(this *CB, e *vecty.Event)
	Checked       bool
	Indeterminate bool
	Disabled      bool
	Value         string
}

CB is a vecty-material checkbox component.

func (*CB) Apply

func (c *CB) Apply(h *vecty.HTML)

func (*CB) NativeInput

func (c *CB) NativeInput() (element *vecty.HTML, id string)

func (*CB) Render

func (c *CB) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

Source Files

Jump to

Keyboard shortcuts

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