jsutils

package
v0.0.0-...-fab95c1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

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{}

func ShowStockRecursive

func ShowStockRecursive(storelocation *models.StoreLocation, depth int, jqSelector string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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