dom

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 4 Imported by: 1

README

dom

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InputRight

func InputRight(field model.Field, input js.Value, value string) bool

func Log

func Log(message ...any)

Types

type Dom

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

func New

func New(t model.Theme, h model.FrontendHeaderHandler, modules ...*model.Module) *Dom

func (Dom) BuildUI

func (d Dom) BuildUI()

func (Dom) ClickModule

func (d Dom) ClickModule(module string)

func (Dom) FormAutoFill

func (d Dom) FormAutoFill(o *model.Object)

func (Dom) RunHeaderHandlerActions

func (d Dom) RunHeaderHandlerActions()

type HtmlElement

type HtmlElement struct {
	Container js.Value
	Name      string //ej: div,li
	Id        string //ej: 234
	Class     string // ej: .css-class
	Content   string // ej: <h1>hello</h1>
}

func (HtmlElement) Add

func (e HtmlElement) Add()

Jump to

Keyboard shortcuts

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