HTML linkHandler(Void(a) fn, a dat, String inf, [Pair<String, String> ] others=[], Bool prepost=true)
Arguments
fn: The handler functiondat: Data to pass to the handler functioninf: The link textothers: A list of name-value pairs of additional variables to add in the link, defaulting to the empty list.prepost: Whether to run thePreContentandPostContentfunctions after submitting the form. This defaults to true, but may be useful to disable if the form results are not HTML.
Usage
Return the HTML for a hyperlink, which when followed calls fn(dat).