Versions in this module Expand all Collapse all v0 v0.2.0 Dec 17, 2021 v0.1.0 Nov 26, 2021 Changes in this version + const JS + var Debug = false + func BoolData(v bool) *boolData + func FloatData(v float64) *floatData + func IntData(v int) *intData + type E struct + func (e *E) OnEvent(f func()) + type El interface + type Page struct + func NewPage(htmlTemplate string, data interface{}) *Page + func (d *Page) Attr(id string, k string, v interface{}) + func (d *Page) Button(id string, value interface{}, extra ...string) string + func (d *Page) Checkbox(id, text string, value bool, extra ...string) string + func (d *Page) CliBox(id string, value interface{}, extra ...string) string + func (d *Page) Console(id string, rows, cols int, value interface{}, extra ...string) string + func (d *Page) Element(id, typ, attr string, value interface{}, extra ...string) string + func (d *Page) Img(id string, value interface{}, extra ...string) string + func (d *Page) JS() string + func (d *Page) Meter(id string, min, max, value int, extra ...string) string + func (d *Page) Number(id string, min, max, value int, extra ...string) string + func (d *Page) OnAnyEvent(handler func()) + func (d *Page) OnEvent(id string, handler func()) + func (d *Page) OnUpdate(f func()) + func (d *Page) Progress(id string, max, value int, extra ...string) string + func (d *Page) Range(id string, min, max, value int, extra ...string) string + func (d *Page) Select(id string, value string, options ...string) string + func (d *Page) SelectArray(id string, value string, options []string) string + func (d *Page) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (d *Page) Set(id string, v interface{}) + func (d *Page) Span(id string, value interface{}, extra ...string) string + func (d *Page) StringValue(id string) string + func (d *Page) TextBox(id string, value interface{}, extra ...string) string + func (d *Page) Value(id string) interface{} + func (t *Page) Data() interface{} + func (t *Page) ErrorBox() string + func (t *Page) UpdateBox(text string) string + func (t *Page) UpdateButton(text string) string