diff --git a/docs/web/app.wasm b/docs/web/app.wasm index e304c9450..02160ae0e 100755 Binary files a/docs/web/app.wasm and b/docs/web/app.wasm differ diff --git a/docs/web/documents/reference.html b/docs/web/documents/reference.html index d02c125a1..3ca4df1b1 100644 --- a/docs/web/documents/reference.html +++ b/docs/web/documents/reference.html @@ -15,7 +15,7 @@ - +
@@ -125,7 +125,7 @@func AppendClass(class, c string) string-
AppendClass adds c to the given class string. +
func AppendClass(class string, v ...string) string+
AppendClass adds values to the given class string. @@ -1811,15 +1817,14 @@
func Route(path string, c Composer)-
Route associates the type of the given component to the given path. -
When a page is requested and matches the route, a new instance of the given -component is created before being displayed. +
Route set the type of component to be mounted when a page is navigated to the +given path. @@ -1827,17 +1832,44 @@
func RouteFunc(path string, newComponent func() Composer)+
RouteFunc set a function that creates the component to be mounted when a page +is navigated to the given path. + + + + + + + +
func RouteWithRegexp(pattern string, c Composer)-
RouteWithRegexp associates the type of the given component to the given -regular expression pattern. -
Patterns use the Go standard regexp format. -
When a page is requested and matches the pattern, a new instance of the given -component is created before being displayed. +
RouteWithRegexp set the type of component to be mounted when a page is +navigated to a path that matches the given pattern. + + + + + + + +
func RouteWithRegexpFunc(pattern string, newComponent func() Composer)+
RouteWithRegexpFunc set a function that creates the component to be mounted +when a page is navigated to a path that matches the given pattern. @@ -2787,7 +2819,7 @@