Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2026 Changes in this version + func GetCurrentPath() string — js/wasm + func GetRoute() *render.Element — js/wasm + func Navigate(path string) — js/wasm + func NavigateReplace(path string) — js/wasm + func RegisterRoute(path string, component interface{}, options ...Options) — js/wasm + func RouteWithElement(path string, elemRef js.Value) — js/wasm + type Component = func(dom.Attrs) *render.Element — js/wasm + type Options struct — js/wasm + Title string + type Router struct — js/wasm + func GetRouter() *Router + func NewHashRouter(options ...RouterOptions) *Router + func NewRouter(options RouterOptions) *Router + func (r *Router) Current() *render.Element + func (r *Router) GetCurrentRouterPath() string + func (r *Router) GoGetRoute() *render.Element + func (r *Router) GoRegisterRoute(path string, component interface{}, options ...Options) + func (r *Router) Mount(selector string) + func (r *Router) MountElement(elem js.Value) + func (r *Router) Navigate(path string) + func (r *Router) NavigateReplace(path string) + func (r *Router) Register(path string, component interface{}, options ...Options) + type RouterOptions struct — js/wasm + DefaultRoute string Other modules containing this package github.com/monstercameron/GoWebComponents/v4