go_ui

package module
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go_ui

librería para trabajar con código vanilla css o js y compilarlo según sea necesario en la ruta ui/built

tiene incluido un observador de cambios de las rutas:

modules ui/theme

observa cambios en archivos tipo js,css, html y ficheros go que contengan en el nombre wasm los compilara a WebAssembly si el tema contiene el fichero ui/theme/wasm/main.go

ejemplo de uso en la carpeta test/

saludos.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApp

func RegisterApp(a app) *ui

func RegisterCSS

func RegisterCSS(n name, pub public, pri private)

func RegisterHtmlModule

func RegisterHtmlModule(h module_adapter, permissions map[byte]model.Permissions)

func RegisterJsComponent

func RegisterJsComponent(component name, module name, f function, l listener)

name nombre del componente ej: list,calendar,button_save module nombre del module al que pertenece

func RegisterJsModule

func RegisterJsModule(m name, f function, l listener)

func RemoveTagStartdEnd

func RemoveTagStartdEnd(in *string, tagRemove string)

quita solo 2 etiquetas principio y final <scrip></script>

Types

This section is empty.

Directories

Path Synopsis
ui/theme/wasm command

Jump to

Keyboard shortcuts

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