fronthelper

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Action           = "action"
	ClassList        = "classList"
	Document         = "document"
	GetAttribute     = "getAttribute"
	GetElementById   = "getElementById"
	Href             = "href"
	Location         = "location"
	Onchange         = "onchange"
	Onclick          = "onclick"
	QuerySelectorAll = "querySelectorAll"
	Submit           = "submit"
	TextContent      = "textContent"
	Toggle           = "toggle"
	Value            = "value"
)

Variables

This section is empty.

Functions

func AlertKey

func AlertKey(messageSpanId string)

func KeepRunning

func KeepRunning()

keep the program active to allow function call from HTML/JavaScript

func RegisterDisplayMessageAction

func RegisterDisplayMessageAction()

func RegisterValidationRules

func RegisterValidationRules()

func TruthyOnclick

func TruthyOnclick(button js.Value, action func(js.Value, []js.Value) any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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