コンポーネント詳細

Join

Join alias exposed from frontend package.

サンプル

参照情報

テンプレート
frontend/daisyui_aliases_impl.go
ゴールデン
N/A

Go(Marionette)サンプル

この実装例は Go の Marionette を使っています。ソース: docs/site-astro/public/examples/go/join.go

package goexamples

import (
	mb "github.com/YoshihideShirai/marionette/backend"
	mf "github.com/YoshihideShirai/marionette/frontend"
)

func RegisterJoinExample(app *mb.App) {
	app.Page("/join", func(ctx *mb.Context) mf.Node {
		return mf.Join(mf.Button("1", mf.ComponentProps{}), mf.Button("2", mf.ComponentProps{}))
	})
}