PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/jeronimoalbi/mdform/v0

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
v0
Namespace
jeronimoalbi / mdform
Files
5 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/jeronimoalbi/mdform/v0
gno
0.9

Files (5)

  • README.mdmarkdown
  • gnomod.tomltoml
  • mdform.gnogno
  • mdform_filetest.gnogno
  • mdform_test.gnogno
mdform_filetest.gnogno
1package main23import "gno.land/p/jeronimoalbi/mdform/v0"45func main() {6	form := mdform.7		New(8			"exec", "FunctionName",9		).10		Input(11			"name",12			"placeholder", "Name",13			"value", "John Doe",14		).15		Select(16			"country",17			"United States",18			"description", "Select your country",19		).20		Select(21			"country",22			"Spain",23		).24		Select(25			"country",26			"Germany",27		).28		Checkbox(29			"interests",30			"music",31			"description", "What do you like to do?",32		).33		Checkbox(34			"interests",35			"tech",36			"checked", "true",37		)38	println(form.String())39}4041// Output:42// <gno-form exec="FunctionName">43// <gno-input name="name" placeholder="Name" value="John Doe" />44// <gno-select name="country" value="United States" description="Select your country" />45// <gno-select name="country" value="Spain" />46// <gno-select name="country" value="Germany" />47// <gno-input type="checkbox" name="interests" value="music" description="What do you like to do?" />48// <gno-input type="checkbox" name="interests" value="tech" checked="true" />49// </gno-form>50

Functions

not supported for pure packages by the node (vm/qfuncs)

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.