dom

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoTagDOM = "dom"

Functions

func BindEvent

func BindEvent(elementID, event string, notify func()) (err error)

Types

type DOMBinder added in v1.2.0

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

func NewDOMBinder added in v1.2.0

func NewDOMBinder(item HasSetter) (result *DOMBinder, err error)

type DOMMarshaller added in v1.2.0

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

func NewDOMMarshaller added in v1.2.0

func NewDOMMarshaller() (result *DOMMarshaller, err error)

func (*DOMMarshaller) ReadAll added in v1.2.0

func (d *DOMMarshaller) ReadAll(item HasSetter)

type HasSetter added in v1.3.2

type HasSetter interface {
	Setter(field, value string)
}

type VisibilityBinding

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

func NewVisibilityBinding

func NewVisibilityBinding(elementID string) (result *VisibilityBinding, err error)

func (*VisibilityBinding) Set

func (v *VisibilityBinding) Set(visible bool)

type WriteBinding

type WriteBinding struct {
	Update contracts.PassString
	// contains filtered or unexported fields
}

func NewWriteBinding

func NewWriteBinding(elementID string) (result *WriteBinding, err error)

func NewWriteBindingByField

func NewWriteBindingByField(elementID, field string) (result *WriteBinding, err error)

Jump to

Keyboard shortcuts

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