Documentation ¶
Index ¶
- func A(opts ...htmlg.Modifier) *htmlg.Element
- func Abbr(opts ...htmlg.Modifier) *htmlg.Element
- func Address(opts ...htmlg.Modifier) *htmlg.Element
- func AlignContent(v string) cssg.Decl
- func AlignItems(v string) cssg.Decl
- func AlignSelf(v string) cssg.Decl
- func All(v string) cssg.Decl
- func Animation(v string) cssg.Decl
- func AnimationDelay(v string) cssg.Decl
- func AnimationDirection(v string) cssg.Decl
- func AnimationDuration(v string) cssg.Decl
- func AnimationFillMode(v string) cssg.Decl
- func AnimationIterationCount(v string) cssg.Decl
- func AnimationName(v string) cssg.Decl
- func AnimationPlayState(v string) cssg.Decl
- func AnimationTimingFunction(v string) cssg.Decl
- func Area(opts ...htmlg.Modifier) *htmlg.Element
- func Article(opts ...htmlg.Modifier) *htmlg.Element
- func Aside(opts ...htmlg.Modifier) *htmlg.Element
- func AttrAccesskey(v string) [2]string
- func AttrAction(v string) [2]string
- func AttrAriaCurrent() [2]string
- func AttrAutocapitalize(v string) [2]string
- func AttrClass(v string) [2]string
- func AttrContent(v string) [2]string
- func AttrContenteditable(v string) [2]string
- func AttrData(v string) [2]string
- func AttrDir(v string) [2]string
- func AttrDraggable(v string) [2]string
- func AttrHidden(v string) [2]string
- func AttrHref(v string) [2]string
- func AttrId(v string) [2]string
- func AttrInputmode(v string) [2]string
- func AttrIs(v string) [2]string
- func AttrLang(v string) [2]string
- func AttrMethod(v string) [2]string
- func AttrName(v string) [2]string
- func AttrOnclick(v string) [2]string
- func AttrPlaceholder(v string) [2]string
- func AttrRel(v string) [2]string
- func AttrSpellcheck(v string) [2]string
- func AttrStyle(v string) [2]string
- func AttrTabindex(v string) [2]string
- func AttrTitle(v string) [2]string
- func AttrType(v string) [2]string
- func AttrValue(v string) [2]string
- func Audio(opts ...htmlg.Modifier) *htmlg.Element
- func B(opts ...htmlg.Modifier) *htmlg.Element
- func BackfaceVisibility(v string) cssg.Decl
- func Background(v string) cssg.Decl
- func BackgroundAttachment(v string) cssg.Decl
- func BackgroundBlendMode(v string) cssg.Decl
- func BackgroundClip(v string) cssg.Decl
- func BackgroundColor(v string) cssg.Decl
- func BackgroundImage(v string) cssg.Decl
- func BackgroundOrigin(v string) cssg.Decl
- func BackgroundPosition(v string) cssg.Decl
- func BackgroundRepeat(v string) cssg.Decl
- func BackgroundSize(v string) cssg.Decl
- func Base(opts ...htmlg.Modifier) *htmlg.Element
- func Bdi(opts ...htmlg.Modifier) *htmlg.Element
- func Bdo(opts ...htmlg.Modifier) *htmlg.Element
- func Blockquote(opts ...htmlg.Modifier) *htmlg.Element
- func Body(opts ...htmlg.Modifier) *htmlg.Element
- func Border(v string) cssg.Decl
- func BorderBottom(v string) cssg.Decl
- func BorderBottomColor(v string) cssg.Decl
- func BorderBottomLeftRadius(v string) cssg.Decl
- func BorderBottomRightRadius(v string) cssg.Decl
- func BorderBottomStyle(v string) cssg.Decl
- func BorderBottomWidth(v string) cssg.Decl
- func BorderCollapse(v string) cssg.Decl
- func BorderColor(v string) cssg.Decl
- func BorderImage(v string) cssg.Decl
- func BorderImageOutset(v string) cssg.Decl
- func BorderImageRepeat(v string) cssg.Decl
- func BorderImageSlice(v string) cssg.Decl
- func BorderImageSource(v string) cssg.Decl
- func BorderImageWidth(v string) cssg.Decl
- func BorderLeft(v string) cssg.Decl
- func BorderLeftColor(v string) cssg.Decl
- func BorderLeftStyle(v string) cssg.Decl
- func BorderLeftWidth(v string) cssg.Decl
- func BorderRadius(v string) cssg.Decl
- func BorderRight(v string) cssg.Decl
- func BorderRightColor(v string) cssg.Decl
- func BorderRightStyle(v string) cssg.Decl
- func BorderRightWidth(v string) cssg.Decl
- func BorderSpacing(v string) cssg.Decl
- func BorderStyle(v string) cssg.Decl
- func BorderTop(v string) cssg.Decl
- func BorderTopColor(v string) cssg.Decl
- func BorderTopLeftRadius(v string) cssg.Decl
- func BorderTopRightRadius(v string) cssg.Decl
- func BorderTopStyle(v string) cssg.Decl
- func BorderTopWidth(v string) cssg.Decl
- func BorderWidth(v string) cssg.Decl
- func Bottom(v string) cssg.Decl
- func BoxShadow(v string) cssg.Decl
- func BoxSizing(v string) cssg.Decl
- func Br(opts ...htmlg.Modifier) *htmlg.Element
- func Button(opts ...htmlg.Modifier) *htmlg.Element
- func CaptionSide(v string) cssg.Decl
- func CaretColor(v string) cssg.Decl
- func Cite(opts ...htmlg.Modifier) *htmlg.Element
- func Clear(v string) cssg.Decl
- func Clip(v string) cssg.Decl
- func ClipPath(v string) cssg.Decl
- func Code(opts ...htmlg.Modifier) *htmlg.Element
- func Col(opts ...htmlg.Modifier) *htmlg.Element
- func Color(v string) cssg.Decl
- func ColumnCount(v string) cssg.Decl
- func ColumnFill(v string) cssg.Decl
- func ColumnGap(v string) cssg.Decl
- func ColumnRule(v string) cssg.Decl
- func ColumnRuleColor(v string) cssg.Decl
- func ColumnRuleStyle(v string) cssg.Decl
- func ColumnRuleWidth(v string) cssg.Decl
- func ColumnSpan(v string) cssg.Decl
- func ColumnWidth(v string) cssg.Decl
- func Columns(v string) cssg.Decl
- func Content(v string) cssg.Decl
- func CounterIncrement(v string) cssg.Decl
- func CounterReset(v string) cssg.Decl
- func Cursor(v string) cssg.Decl
- func Data(opts ...htmlg.Modifier) *htmlg.Element
- func Dd(opts ...htmlg.Modifier) *htmlg.Element
- func Dfn(opts ...htmlg.Modifier) *htmlg.Element
- func Direction(v string) cssg.Decl
- func Display(v string) cssg.Decl
- func Div(opts ...htmlg.Modifier) *htmlg.Element
- func Dl(opts ...htmlg.Modifier) *htmlg.Element
- func Dt(opts ...htmlg.Modifier) *htmlg.Element
- func Em(opts ...htmlg.Modifier) *htmlg.Element
- func Embed(opts ...htmlg.Modifier) *htmlg.Element
- func EmptyCells(v string) cssg.Decl
- func Figcaption(opts ...htmlg.Modifier) *htmlg.Element
- func Figure(opts ...htmlg.Modifier) *htmlg.Element
- func Filter(v string) cssg.Decl
- func Flex(v string) cssg.Decl
- func FlexBasis(v string) cssg.Decl
- func FlexDirection(v string) cssg.Decl
- func FlexFlow(v string) cssg.Decl
- func FlexGrow(v string) cssg.Decl
- func FlexShrink(v string) cssg.Decl
- func FlexWrap(v string) cssg.Decl
- func Float(v string) cssg.Decl
- func Font(v string) cssg.Decl
- func FontFamily(v string) cssg.Decl
- func FontKerning(v string) cssg.Decl
- func FontSize(v string) cssg.Decl
- func FontSizeAdjust(v string) cssg.Decl
- func FontStretch(v string) cssg.Decl
- func FontStyle(v string) cssg.Decl
- func FontVariant(v string) cssg.Decl
- func FontWeight(v string) cssg.Decl
- func Footer(opts ...htmlg.Modifier) *htmlg.Element
- func Form(opts ...htmlg.Modifier) *htmlg.Element
- func Gap(v string) cssg.Decl
- func Grid(v string) cssg.Decl
- func GridArea(v string) cssg.Decl
- func GridAutoColumns(v string) cssg.Decl
- func GridAutoFlow(v string) cssg.Decl
- func GridAutoRows(v string) cssg.Decl
- func GridColumn(v string) cssg.Decl
- func GridColumnEnd(v string) cssg.Decl
- func GridColumnGap(v string) cssg.Decl
- func GridColumnStart(v string) cssg.Decl
- func GridGap(v string) cssg.Decl
- func GridRow(v string) cssg.Decl
- func GridRowEnd(v string) cssg.Decl
- func GridRowGap(v string) cssg.Decl
- func GridRowStart(v string) cssg.Decl
- func GridTemplate(v string) cssg.Decl
- func GridTemplateAreas(v string) cssg.Decl
- func GridTemplateColumns(v string) cssg.Decl
- func GridTemplateRows(v string) cssg.Decl
- func H1(opts ...htmlg.Modifier) *htmlg.Element
- func H2(opts ...htmlg.Modifier) *htmlg.Element
- func H3(opts ...htmlg.Modifier) *htmlg.Element
- func H4(opts ...htmlg.Modifier) *htmlg.Element
- func H5(opts ...htmlg.Modifier) *htmlg.Element
- func H6(opts ...htmlg.Modifier) *htmlg.Element
- func HTML(opts ...htmlg.Modifier) *htmlg.Element
- func Head(opts ...htmlg.Modifier) *htmlg.Element
- func Header(opts ...htmlg.Modifier) *htmlg.Element
- func Height(v string) cssg.Decl
- func Hgroup(opts ...htmlg.Modifier) *htmlg.Element
- func Hr(opts ...htmlg.Modifier) *htmlg.Element
- func Hyphens(v string) cssg.Decl
- func I(opts ...htmlg.Modifier) *htmlg.Element
- func Iframe(opts ...htmlg.Modifier) *htmlg.Element
- func Img(opts ...htmlg.Modifier) *htmlg.Element
- func Input(opts ...htmlg.Modifier) *htmlg.Element
- func JustifyContent(v string) cssg.Decl
- func Kbd(opts ...htmlg.Modifier) *htmlg.Element
- func Label(opts ...htmlg.Modifier) *htmlg.Element
- func Left(v string) cssg.Decl
- func Legend(opts ...htmlg.Modifier) *htmlg.Element
- func LetterSpacing(v string) cssg.Decl
- func Li(opts ...htmlg.Modifier) *htmlg.Element
- func LineHeight(v string) cssg.Decl
- func Link(opts ...htmlg.Modifier) *htmlg.Element
- func ListStyle(v string) cssg.Decl
- func ListStyleImage(v string) cssg.Decl
- func ListStylePosition(v string) cssg.Decl
- func ListStyleType(v string) cssg.Decl
- func Main(opts ...htmlg.Modifier) *htmlg.Element
- func Map(opts ...htmlg.Modifier) *htmlg.Element
- func Margin(v string) cssg.Decl
- func MarginBottom(v string) cssg.Decl
- func MarginLeft(v string) cssg.Decl
- func MarginRight(v string) cssg.Decl
- func MarginTop(v string) cssg.Decl
- func Mark(opts ...htmlg.Modifier) *htmlg.Element
- func Math(opts ...htmlg.Modifier) *htmlg.Element
- func MaxHeight(v string) cssg.Decl
- func MaxWidth(v string) cssg.Decl
- func Menu(opts ...htmlg.Modifier) *htmlg.Element
- func Meta(opts ...htmlg.Modifier) *htmlg.Element
- func MinHheight(v string) cssg.Decl
- func MinWidth(v string) cssg.Decl
- func Nav(opts ...htmlg.Modifier) *htmlg.Element
- func NewButton(text string, onclick string) *htmlg.Element
- func NewFavicon(url string) *htmlg.Element
- func NewForm(action string, method string) *htmlg.Element
- func NewGlobalStyle(rules cssg.RuleGroup) *htmlg.Element
- func NewHyperlink(anchor, href string) *htmlg.Element
- func NewInputEmail(name, placeholder, value string) *htmlg.Element
- func NewInputMultilineText(name string, placeholder string, value ...string) *htmlg.Element
- func NewInputSubmit(txt string) *htmlg.Element
- func NewMeta(name, content string) *htmlg.Element
- func NewMetaColorScheme(s string) *htmlg.Element
- func NewMetaDescription(desc string) *htmlg.Element
- func NewTitle(s string) *htmlg.Element
- func Object(opts ...htmlg.Modifier) *htmlg.Element
- func ObjectFit(v string) cssg.Decl
- func ObjectPosition(v string) cssg.Decl
- func Ol(opts ...htmlg.Modifier) *htmlg.Element
- func Opacity(v string) cssg.Decl
- func Order(v string) cssg.Decl
- func Outline(v string) cssg.Decl
- func OutlineColor(v string) cssg.Decl
- func OutlineOffset(v string) cssg.Decl
- func OutlineStyle(v string) cssg.Decl
- func OutlineWidth(v string) cssg.Decl
- func Overflow(v string) cssg.Decl
- func OverflowX(v string) cssg.Decl
- func OverflowY(v string) cssg.Decl
- func P(opts ...htmlg.Modifier) *htmlg.Element
- func Padding(v string) cssg.Decl
- func PaddingBottom(v string) cssg.Decl
- func PaddingLeft(v string) cssg.Decl
- func PaddingRight(v string) cssg.Decl
- func PaddingTop(v string) cssg.Decl
- func PageBreakAfter(v string) cssg.Decl
- func PageBreakBefore(v string) cssg.Decl
- func PageBreakInside(v string) cssg.Decl
- func Perspective(v string) cssg.Decl
- func PerspectiveOrigin(v string) cssg.Decl
- func Picture(opts ...htmlg.Modifier) *htmlg.Element
- func PointerEvents(v string) cssg.Decl
- func Portal(opts ...htmlg.Modifier) *htmlg.Element
- func Position(v string) cssg.Decl
- func Pre(opts ...htmlg.Modifier) *htmlg.Element
- func Q(opts ...htmlg.Modifier) *htmlg.Element
- func Quotes(v string) cssg.Decl
- func Right(v string) cssg.Decl
- func RowGap(v string) cssg.Decl
- func S(opts ...htmlg.Modifier) *htmlg.Element
- func Samp(opts ...htmlg.Modifier) *htmlg.Element
- func Script(opts ...htmlg.Modifier) *htmlg.Element
- func ScrollBehavior(v string) cssg.Decl
- func Section(opts ...htmlg.Modifier) *htmlg.Element
- func Small(opts ...htmlg.Modifier) *htmlg.Element
- func Source(opts ...htmlg.Modifier) *htmlg.Element
- func Span(opts ...htmlg.Modifier) *htmlg.Element
- func Strong(opts ...htmlg.Modifier) *htmlg.Element
- func Style(opts ...htmlg.Modifier) *htmlg.Element
- func Sub(opts ...htmlg.Modifier) *htmlg.Element
- func Sup(opts ...htmlg.Modifier) *htmlg.Element
- func Svg(opts ...htmlg.Modifier) *htmlg.Element
- func TableLayout(v string) cssg.Decl
- func TextAlign(v string) cssg.Decl
- func TextAlignLast(v string) cssg.Decl
- func TextDecoration(v string) cssg.Decl
- func TextDecorationColor(v string) cssg.Decl
- func TextDecorationLine(v string) cssg.Decl
- func TextDecorationStyle(v string) cssg.Decl
- func TextIndent(v string) cssg.Decl
- func TextJustify(v string) cssg.Decl
- func TextOverflow(v string) cssg.Decl
- func TextShadow(v string) cssg.Decl
- func TextTransform(v string) cssg.Decl
- func Textarea(opts ...htmlg.Modifier) *htmlg.Element
- func Time(opts ...htmlg.Modifier) *htmlg.Element
- func Title(opts ...htmlg.Modifier) *htmlg.Element
- func Top(v string) cssg.Decl
- func Track(opts ...htmlg.Modifier) *htmlg.Element
- func Transform(v string) cssg.Decl
- func TransformOrigin(v string) cssg.Decl
- func TransformStyle(v string) cssg.Decl
- func Transition(v string) cssg.Decl
- func TransitionDelay(v string) cssg.Decl
- func TransitionDuration(v string) cssg.Decl
- func TransitionProperty(v string) cssg.Decl
- func TransitionTimingFunction(v string) cssg.Decl
- func U(opts ...htmlg.Modifier) *htmlg.Element
- func Ul(opts ...htmlg.Modifier) *htmlg.Element
- func UserSelect(v string) cssg.Decl
- func Var(opts ...htmlg.Modifier) *htmlg.Element
- func VerticalAlign(v string) cssg.Decl
- func Video(opts ...htmlg.Modifier) *htmlg.Element
- func Visibility(v string) cssg.Decl
- func Wbr(opts ...htmlg.Modifier) *htmlg.Element
- func WhiteSpace(v string) cssg.Decl
- func Width(v string) cssg.Decl
- func WordBreak(v string) cssg.Decl
- func WordWrap(v string) cssg.Decl
- func Wordspacing(v string) cssg.Decl
- func Wrap(children []htmlg.Stringer, tag string, modifiers ...htmlg.Modifier) htmlg.Fragment
- func WritingMode(v string) cssg.Decl
- func ZIndex(v string) cssg.Decl
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignContent ¶
func AlignItems ¶
func AnimationDelay ¶
func AnimationDirection ¶
func AnimationDuration ¶
func AnimationFillMode ¶
func AnimationIterationCount ¶
func AnimationName ¶
func AnimationPlayState ¶
func AnimationTimingFunction ¶
func AttrAccesskey ¶
func AttrAction ¶
func AttrAriaCurrent ¶
func AttrAriaCurrent() [2]string
func AttrAutocapitalize ¶
func AttrContent ¶
func AttrContenteditable ¶
func AttrDraggable ¶
func AttrHidden ¶
func AttrInputmode ¶
func AttrMethod ¶
func AttrOnclick ¶
func AttrPlaceholder ¶
func AttrSpellcheck ¶
func AttrTabindex ¶
func BackfaceVisibility ¶
func Background ¶
func BackgroundAttachment ¶
func BackgroundBlendMode ¶
func BackgroundClip ¶
func BackgroundColor ¶
func BackgroundImage ¶
func BackgroundOrigin ¶
func BackgroundPosition ¶
func BackgroundRepeat ¶
func BackgroundSize ¶
func BorderBottom ¶
func BorderBottomColor ¶
func BorderBottomLeftRadius ¶
func BorderBottomRightRadius ¶
func BorderBottomStyle ¶
func BorderBottomWidth ¶
func BorderCollapse ¶
func BorderColor ¶
func BorderImage ¶
func BorderImageOutset ¶
func BorderImageRepeat ¶
func BorderImageSlice ¶
func BorderImageSource ¶
func BorderImageWidth ¶
func BorderLeft ¶
func BorderLeftColor ¶
func BorderLeftStyle ¶
func BorderLeftWidth ¶
func BorderRadius ¶
func BorderRight ¶
func BorderRightColor ¶
func BorderRightStyle ¶
func BorderRightWidth ¶
func BorderSpacing ¶
func BorderStyle ¶
func BorderTopColor ¶
func BorderTopLeftRadius ¶
func BorderTopRightRadius ¶
func BorderTopStyle ¶
func BorderTopWidth ¶
func BorderWidth ¶
func CaptionSide ¶
func CaretColor ¶
func ColumnCount ¶
func ColumnFill ¶
func ColumnRule ¶
func ColumnRuleColor ¶
func ColumnRuleStyle ¶
func ColumnRuleWidth ¶
func ColumnSpan ¶
func ColumnWidth ¶
func CounterIncrement ¶
func CounterReset ¶
func EmptyCells ¶
func FlexDirection ¶
func FlexShrink ¶
func FontFamily ¶
func FontKerning ¶
func FontSizeAdjust ¶
func FontStretch ¶
func FontVariant ¶
func FontWeight ¶
func GridAutoColumns ¶
func GridAutoFlow ¶
func GridAutoRows ¶
func GridColumn ¶
func GridColumnEnd ¶
func GridColumnGap ¶
func GridColumnStart ¶
func GridRowEnd ¶
func GridRowGap ¶
func GridRowStart ¶
func GridTemplate ¶
func GridTemplateAreas ¶
func GridTemplateColumns ¶
func GridTemplateRows ¶
func JustifyContent ¶
func LetterSpacing ¶
func LineHeight ¶
func ListStyleImage ¶
func ListStylePosition ¶
func ListStyleType ¶
func MarginBottom ¶
func MarginLeft ¶
func MarginRight ¶
func MinHheight ¶
func NewFavicon ¶
NewFavicon creates a new <link> element with the rel icon attribute and href set to url.
func NewGlobalStyle ¶
NewGlobalStyle creates a new <style> element with the provided rules.
func NewHyperlink ¶
func NewInputEmail ¶
func NewInputMultilineText ¶
func NewInputSubmit ¶
func NewMetaColorScheme ¶
func NewMetaDescription ¶
func ObjectPosition ¶
func OutlineColor ¶
func OutlineOffset ¶
func OutlineStyle ¶
func OutlineWidth ¶
func PaddingBottom ¶
func PaddingLeft ¶
func PaddingRight ¶
func PaddingTop ¶
func PageBreakAfter ¶
func PageBreakBefore ¶
func PageBreakInside ¶
func Perspective ¶
func PerspectiveOrigin ¶
func PointerEvents ¶
func ScrollBehavior ¶
func TableLayout ¶
func TextAlignLast ¶
func TextDecoration ¶
func TextDecorationColor ¶
func TextDecorationLine ¶
func TextDecorationStyle ¶
func TextIndent ¶
func TextJustify ¶
func TextOverflow ¶
func TextShadow ¶
func TextTransform ¶
func TransformOrigin ¶
func TransformStyle ¶
func Transition ¶
func TransitionDelay ¶
func TransitionDuration ¶
func TransitionProperty ¶
func UserSelect ¶
func VerticalAlign ¶
func Visibility ¶
func WhiteSpace ¶
func Wordspacing ¶
func WritingMode ¶
Types ¶
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
Page implements HTMLStringer and prepends the HTML doctype declaration to the underlying content. Expects HTML tag as direct child.
func (*Page) HTMLString ¶
HTMLString returns the underlying content with the HTML doctype declaration prefixed.
Click to show internal directories.
Click to hide internal directories.