uihelper

package
v0.0.0-...-98db5b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2020 License: CC-BY-4.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canvas

func Canvas(id string) template.HTML

Canvas makes a canvas

func DivRegular

func DivRegular(innerHTML template.HTML) template.HTML

DivRegular is a div wraper

func DivURL

func DivURL(id, src string) template.HTML

DivURL sets up a div with a src and id

func Divcolumnwrap

func Divcolumnwrap(class string, innerHTML template.HTML) template.HTML

Divcolumnwrap wraps up an template.HTML with a div

func Header(num, innerHTML string) template.HTML

Header allows for a header to be made

func Image

func Image(id, src string) template.HTML

Image does an image

func Jquerygetjson

func Jquerygetjson(url string, callback template.JS) template.JS

Jquerygetjson sets up a getjson.

func Paragraph

func Paragraph(innerHTML string) template.HTML

Paragraph wraps a paragraph

func ParagraphID

func ParagraphID(id string, filler string) template.HTML

ParagraphID passes a paragraph that takes an ID. It also allows for some inner html

func Paragraphsusingbreaks

func Paragraphsusingbreaks(paragraphs ...string) template.HTML

Paragraphsusingbreaks takes a bunch of strings a wraps in in a paragraph separated by line breaks

func Replacecomment

func Replacecomment(comment string) template.HTML

Replacecomment allows for a comment to be placed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL