jsutils

package
v0.0.0-...-7ed847f Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSearch

func ClearSearch(this js.Value, args []js.Value) interface{}

func ClearSearchExceptProduct

func ClearSearchExceptProduct(this js.Value, args []js.Value) interface{}

func CloseEdit

func CloseEdit(this js.Value, args []js.Value) interface{}

func CloseQR

func CloseQR(this js.Value, args []js.Value) interface{}

func ConsoleLog

func ConsoleLog(s string)

func CreateJsHTMLElementFromString

func CreateJsHTMLElementFromString(s string) js.Value

func DisplayErrorMessage

func DisplayErrorMessage(message string)

func DisplayFilter

func DisplayFilter(q ajax.QueryFilter)

func DisplayGenericErrorMessage

func DisplayGenericErrorMessage()

func DisplayMessage

func DisplayMessage(msgText string, msgType string)

DisplayMessage display fading messages at the top of the screen

func DisplayMessageWrapper

func DisplayMessageWrapper(this js.Value, args []js.Value) interface{}

func DisplaySuccessMessage

func DisplaySuccessMessage(message string)

func DumpJsObject

func DumpJsObject(object js.Value)

func HasPermission

func HasPermission(item, id, method string, done, fail func())

func LoadContent

func LoadContent(containerId string, viewName string, url string, callback func(args ...interface{}), args ...interface{})

func RedirectTo

func RedirectTo(href string)
func Search(this js.Value, args []js.Value) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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