Documentation
¶
Index ¶
- func HandleAnatomy(w http.ResponseWriter, r *http.Request)
- func HandleAssets(w http.ResponseWriter, r *http.Request)
- func HandleComposing(w http.ResponseWriter, r *http.Request)
- func HandleFormInputs(w http.ResponseWriter, r *http.Request)
- func HandleOverview(w http.ResponseWriter, r *http.Request)
- func HandlePackaging(w http.ResponseWriter, r *http.Request)
- func HandleStateAware(w http.ResponseWriter, r *http.Request)
- func HandleTheming(w http.ResponseWriter, r *http.Request)
- func Init(m *http.ServeMux) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAnatomy ¶
func HandleAnatomy(w http.ResponseWriter, r *http.Request)
HandleAnatomy covers the Widget interface and WidgetBase.
func HandleAssets ¶
func HandleAssets(w http.ResponseWriter, r *http.Request)
HandleAssets covers asset registration and the /bespa/ namespace.
func HandleComposing ¶
func HandleComposing(w http.ResponseWriter, r *http.Request)
HandleComposing covers composing existing widgets.
func HandleFormInputs ¶
func HandleFormInputs(w http.ResponseWriter, r *http.Request)
HandleFormInputs covers writing custom form-input widgets that participate in BESPA forms: the InputWidget contract, the hidden-input rule, and the JS bridge for widgets backed by a third-party library.
func HandleOverview ¶
func HandleOverview(w http.ResponseWriter, r *http.Request)
HandleOverview is the landing page for the "Build widgets" track — extending the framework with custom widgets and reusable widget libraries.
func HandlePackaging ¶
func HandlePackaging(w http.ResponseWriter, r *http.Request)
HandlePackaging covers structuring a widget library.
func HandleStateAware ¶
func HandleStateAware(w http.ResponseWriter, r *http.Request)
HandleStateAware covers Drawn / Shown / RedrawIfChanged in custom widgets.
func HandleTheming ¶
func HandleTheming(w http.ResponseWriter, r *http.Request)
HandleTheming covers Material theming for widget CSS and runtime use.
Types ¶
This section is empty.