func (u *User) InitDom(ctx context.Context, wg *sync.WaitGroup) {
	jsFuncs := map[string]js.Func{
		"logout":               u.dom.NewJsEventFunc(u.logoutButtonClick),
		"request":              u.dom.NewJsEventFuncAsync(u.request, true),
		"updateConfirmPattern": u.dom.NewJsEventFunc(u.updateConfirmPassword),
	}
	u.dom.RegisterFuncs(ctx, wg, "user", jsFuncs)
}
// InitDom registers user dom functions.
InitDom registers user dom functions.
// InitDom registers user dom functions .
func (u *User) InitDom(ctx context.Context, wg *sync.WaitGroup) {
	jsFuncs := map[string]js.Func{
		"logout":               u.dom.NewJsEventFunc(u.logoutButtonClick),
		"request":              u.dom.NewJsEventFuncAsync(u.request, true),
		"updateConfirmPattern": u.dom.NewJsEventFunc(u.updateConfirmPassword),
	}
	u.dom.RegisterFuncs(ctx, wg, "user", jsFuncs)
}
func ( u * User ) InitDom ( ctx context . Context , wg * sync . WaitGroup ) { jsFuncs := map [ string ] js . Func { " " : u . dom . NewJsEventFunc ( u . logoutButtonClick ) , " " : u . dom . NewJsEventFuncAsync ( u . request , true ) , " " : u . dom . NewJsEventFunc ( u . updateConfirmPassword ) , } u . dom . RegisterFuncs ( ctx , wg , " " , jsFuncs ) }
InitDom registers user dom functions.
InitDom registers user dom functions .