Documentation
¶
Index ¶
- func Attr(sb *strings.Builder, k, v string)
- func BoolAttr(sb *strings.Builder, k string)
- func Render(c Component) string
- func WriteGlobal(sb *strings.Builder, g *GlobalAttrs)
- type AArg
- type AAttrs
- type AbbrOpt
- type AcceptCharsetOpt
- type AcceptOpt
- type AccumulateOpt
- type ActionOpt
- type AdditiveOpt
- type AlignOpt
- type AlinkOpt
- type AllowOpt
- type AllowfullscreenOpt
- type AllowpaymentrequestOpt
- type AllowusermediaOpt
- type AlphaOpt
- type AltOpt
- type AmplitudeOpt
- type AppletArg
- type AppletAttrs
- type ArchiveOpt
- type AreaArg
- type AreaAttrs
- type AsOpt
- type Assets
- type AsyncOpt
- type AttrWriter
- type AttributeNameOpt
- type AttributeTypeOpt
- type AudioArg
- type AudioAttrs
- type AutocompleteOpt
- type AutoplayOpt
- type AxisOpt
- type AzimuthOpt
- type BackgroundOpt
- type BaseArg
- type BaseAttrs
- type BaseFrequencyOpt
- type BasefontArg
- type BasefontAttrs
- type BeginOpt
- type BgcolorOpt
- type BiasOpt
- type BlockingOpt
- type BlockquoteArg
- type BlockquoteAttrs
- type BodyArg
- type BodyAttrs
- type BorderOpt
- type BrArg
- type BrAttrs
- type ButtonArg
- type ButtonAttrs
- type ByOpt
- type CalcModeOpt
- type CanvasArg
- type CanvasAttrs
- type CaptionArg
- type CaptionAttrs
- type CellpaddingOpt
- type CellspacingOpt
- type CharOpt
- type CharoffOpt
- type CharsetOpt
- type CheckedOpt
- type ChildOpt
- type CiteOpt
- type ClassidOpt
- type ClearOpt
- type ClipPathUnitsOpt
- type ClosedbyOpt
- type CodeOpt
- type CodebaseOpt
- type CodetypeOpt
- type ColArg
- type ColAttrs
- type ColgroupArg
- type ColgroupAttrs
- type ColorOpt
- type ColorspaceOpt
- type ColsOpt
- type ColspanOpt
- type CommandOpt
- type CommandforOpt
- type CompactOpt
- type Component
- type ContentOpt
- type ControlsOpt
- type CoordsOpt
- type CrossoriginOpt
- type CxOpt
- type CyOpt
- type DOpt
- type DataArg
- type DataAttrs
- type DatetimeOpt
- type DeclareOpt
- type DecodingOpt
- type DefaultOpt
- type DeferOpt
- type DelArg
- type DelAttrs
- type DetailsArg
- type DetailsAttrs
- type DialogArg
- type DialogAttrs
- type DiffuseConstantOpt
- type DirArg
- type DirAttrs
- type DirnameOpt
- type DisabledOpt
- type DivArg
- type DivAttrs
- type DivisorOpt
- type DlArg
- type DlAttrs
- type DownloadOpt
- type DurOpt
- type DxOpt
- type DyOpt
- type EdgeModeOpt
- type ElevationOpt
- type EmbedArg
- type EmbedAttrs
- type EnctypeOpt
- type EndOpt
- type ExponentOpt
- type ExternalResourcesRequiredOpt
- type FaceOpt
- type FetchpriorityOpt
- type FieldsetArg
- type FieldsetAttrs
- type FillOpacityOpt
- type FilterUnitsOpt
- type FloodColorOpt
- type FloodOpacityOpt
- type FontArg
- type FontAttrs
- type ForOpt
- type FormArg
- type FormAttrs
- type FormOpt
- type FormactionOpt
- type FormenctypeOpt
- type FormmethodOpt
- type FormnovalidateOpt
- type FormtargetOpt
- type FragmentNode
- type FrameArg
- type FrameAttrs
- type FrameOpt
- type FrameborderOpt
- type FramesetArg
- type FramesetAttrs
- type FromOpt
- type FxOpt
- type FyOpt
- type Global
- func AAccesskey(v string) Global
- func AAria(k, v string) Global
- func AAutocapitalize(v string) Global
- func AAutocorrect(v string) Global
- func AAutofocus() Global
- func AClass(v string) Global
- func AContenteditable(v string) Global
- func ACustom(k, v string) Global
- func AData(k, v string) Global
- func ADir(v string) Global
- func ADraggable(b bool) Global
- func AEnterkeyhint(v string) Global
- func AExportparts(v string) Global
- func AHidden() Global
- func AId(v string) Global
- func AInert() Global
- func AInputmode(v string) Global
- func AIsAttr(v string) Global
- func AItemid(v string) Global
- func AItemprop(v string) Global
- func AItemref(v string) Global
- func AItemscope() Global
- func AItemtype(v string) Global
- func ALang(v string) Global
- func ANonce(v string) Global
- func AOn(ev, handler string) Global
- func APart(v string) Global
- func APopover(v string) Global
- func ASlot(v string) Global
- func ASpellcheck(b bool) Global
- func AStyle(style string) Global
- func ATabindex(i int) Global
- func ATitle(v string) Global
- func ATranslate(b bool) Global
- func AWritingsuggestions(b bool) Global
- type GlobalAttrs
- type GradientTransformOpt
- type GradientUnitsOpt
- type H1Arg
- type H1Attrs
- type H2Arg
- type H2Attrs
- type H3Arg
- type H3Attrs
- type H4Arg
- type H4Attrs
- type H5Arg
- type H5Attrs
- type H6Arg
- type H6Attrs
- type HasCSS
- type HasJS
- type HasName
- type HeadArg
- type HeadAttrs
- type HeadersOpt
- type HeightOpt
- type HighOpt
- type HrArg
- type HrAttrs
- type HrefOpt
- type HreflangOpt
- type HspaceOpt
- type HtmlArg
- type HtmlAttrs
- type HttpEquivOpt
- type IframeArg
- type IframeAttrs
- type ImagesizesOpt
- type ImagesrcsetOpt
- type ImgArg
- type ImgAttrs
- type In2Opt
- type InOpt
- type InputArg
- type InputAttrs
- type InsArg
- type InsAttrs
- type IntegrityOpt
- type InterceptOpt
- type IsindexArg
- type IsindexAttrs
- type IsmapOpt
- type K1Opt
- type K2Opt
- type K3Opt
- type K4Opt
- type KernelMatrixOpt
- type KernelUnitLengthOpt
- type KeySplinesOpt
- type KeyTimesOpt
- type KindOpt
- type LabelArg
- type LabelAttrs
- type LabelOpt
- type LanguageOpt
- type LegendArg
- type LegendAttrs
- type LengthAdjustOpt
- type LiArg
- type LiAttrs
- type LimitingConeAngleOpt
- type LinkArg
- type LinkAttrs
- type LinkOpt
- type ListOpt
- type LoadingOpt
- type LongdescOpt
- type LoopOpt
- type LowOpt
- type ManifestOpt
- type MapArg
- type MapAttrs
- type MarginheightOpt
- type MarginwidthOpt
- type MarkerHeightOpt
- type MarkerUnitsOpt
- type MarkerWidthOpt
- type MaskContentUnitsOpt
- type MaskUnitsOpt
- type MaxOpt
- type MaxlengthOpt
- type MediaOpt
- type MenuArg
- type MenuAttrs
- type MetaArg
- type MetaAttrs
- type MeterArg
- type MeterAttrs
- type MethodOpt
- type MinOpt
- type MinlengthOpt
- type ModeOpt
- type MultipleOpt
- type MutedOpt
- type NameOpt
- type Node
- func A(args ...AArg) Node
- func Applet(args ...AppletArg) Node
- func Area(args ...AreaArg) Node
- func Audio(args ...AudioArg) Node
- func Base(args ...BaseArg) Node
- func Basefont(args ...BasefontArg) Node
- func Blockquote(args ...BlockquoteArg) Node
- func Body(args ...BodyArg) Node
- func Br(args ...BrArg) Node
- func Button(args ...ButtonArg) Node
- func Canvas(args ...CanvasArg) Node
- func Caption(args ...CaptionArg) Node
- func Col(args ...ColArg) Node
- func Colgroup(args ...ColgroupArg) Node
- func Data(args ...DataArg) Node
- func Del(args ...DelArg) Node
- func Details(args ...DetailsArg) Node
- func Dialog(args ...DialogArg) Node
- func Dir(args ...DirArg) Node
- func Div(args ...DivArg) Node
- func Dl(args ...DlArg) Node
- func Embed(args ...EmbedArg) Node
- func Fieldset(args ...FieldsetArg) Node
- func Font(args ...FontArg) Node
- func Form(args ...FormArg) Node
- func Frame(args ...FrameArg) Node
- func Frameset(args ...FramesetArg) Node
- func H1(args ...H1Arg) Node
- func H2(args ...H2Arg) Node
- func H3(args ...H3Arg) Node
- func H4(args ...H4Arg) Node
- func H5(args ...H5Arg) Node
- func H6(args ...H6Arg) Node
- func Head(args ...HeadArg) Node
- func Hr(args ...HrArg) Node
- func Html(args ...HtmlArg) Node
- func Iframe(args ...IframeArg) Node
- func Img(args ...ImgArg) Node
- func Input(args ...InputArg) Node
- func Ins(args ...InsArg) Node
- func Isindex(args ...IsindexArg) Node
- func Label(args ...LabelArg) Node
- func Legend(args ...LegendArg) Node
- func Li(args ...LiArg) Node
- func Link(args ...LinkArg) Node
- func Map(args ...MapArg) Node
- func Menu(args ...MenuArg) Node
- func Meta(args ...MetaArg) Node
- func Meter(args ...MeterArg) Node
- func Object(args ...ObjectArg) Node
- func Ol(args ...OlArg) Node
- func Optgroup(args ...OptgroupArg) Node
- func Option(args ...OptionArg) Node
- func Output(args ...OutputArg) Node
- func P(args ...PArg) Node
- func Param(args ...ParamArg) Node
- func Pre(args ...PreArg) Node
- func Progress(args ...ProgressArg) Node
- func Q(args ...QArg) Node
- func Script(args ...ScriptArg) Node
- func Select(args ...SelectArg) Node
- func Slot(args ...SlotArg) Node
- func Source(args ...SourceArg) Node
- func Style(args ...StyleArg) Node
- func Svg(args ...SvgArg) Node
- func SvgAnimate(args ...SvgAnimateArg) Node
- func SvgAnimateMotion(args ...SvgAnimateMotionArg) Node
- func SvgAnimateTransform(args ...SvgAnimateTransformArg) Node
- func SvgCircle(args ...SvgCircleArg) Node
- func SvgClipPath(args ...SvgClipPathArg) Node
- func SvgDefs(args ...SvgDefsArg) Node
- func SvgDesc(args ...SvgDescArg) Node
- func SvgEllipse(args ...SvgEllipseArg) Node
- func SvgFeBlend(args ...SvgFeBlendArg) Node
- func SvgFeColorMatrix(args ...SvgFeColorMatrixArg) Node
- func SvgFeComponentTransfer(args ...SvgFeComponentTransferArg) Node
- func SvgFeComposite(args ...SvgFeCompositeArg) Node
- func SvgFeConvolveMatrix(args ...SvgFeConvolveMatrixArg) Node
- func SvgFeDiffuseLighting(args ...SvgFeDiffuseLightingArg) Node
- func SvgFeDisplacementMap(args ...SvgFeDisplacementMapArg) Node
- func SvgFeDistantLight(args ...SvgFeDistantLightArg) Node
- func SvgFeDropShadow(args ...SvgFeDropShadowArg) Node
- func SvgFeFlood(args ...SvgFeFloodArg) Node
- func SvgFeFuncA(args ...SvgFeFuncAArg) Node
- func SvgFeFuncB(args ...SvgFeFuncBArg) Node
- func SvgFeFuncG(args ...SvgFeFuncGArg) Node
- func SvgFeFuncR(args ...SvgFeFuncRArg) Node
- func SvgFeGaussianBlur(args ...SvgFeGaussianBlurArg) Node
- func SvgFeImage(args ...SvgFeImageArg) Node
- func SvgFeMerge(args ...SvgFeMergeArg) Node
- func SvgFeMergeNode(args ...SvgFeMergeNodeArg) Node
- func SvgFeMorphology(args ...SvgFeMorphologyArg) Node
- func SvgFeOffset(args ...SvgFeOffsetArg) Node
- func SvgFePointLight(args ...SvgFePointLightArg) Node
- func SvgFeSpecularLighting(args ...SvgFeSpecularLightingArg) Node
- func SvgFeSpotLight(args ...SvgFeSpotLightArg) Node
- func SvgFeTile(args ...SvgFeTileArg) Node
- func SvgFeTurbulence(args ...SvgFeTurbulenceArg) Node
- func SvgFilter(args ...SvgFilterArg) Node
- func SvgForeignObject(args ...SvgForeignObjectArg) Node
- func SvgG(args ...SvgGArg) Node
- func SvgImage(args ...SvgImageArg) Node
- func SvgLine(args ...SvgLineArg) Node
- func SvgLinearGradient(args ...SvgLinearGradientArg) Node
- func SvgMarker(args ...SvgMarkerArg) Node
- func SvgMask(args ...SvgMaskArg) Node
- func SvgMetadata(args ...SvgMetadataArg) Node
- func SvgMpath(args ...SvgMpathArg) Node
- func SvgPath(args ...SvgPathArg) Node
- func SvgPattern(args ...SvgPatternArg) Node
- func SvgPolygon(args ...SvgPolygonArg) Node
- func SvgPolyline(args ...SvgPolylineArg) Node
- func SvgRadialGradient(args ...SvgRadialGradientArg) Node
- func SvgRect(args ...SvgRectArg) Node
- func SvgSet(args ...SvgSetArg) Node
- func SvgStop(args ...SvgStopArg) Node
- func SvgSwitch(args ...SvgSwitchArg) Node
- func SvgSymbol(args ...SvgSymbolArg) Node
- func SvgText(args ...SvgTextArg) Node
- func SvgTextPath(args ...SvgTextPathArg) Node
- func SvgTspan(args ...SvgTspanArg) Node
- func SvgUse(args ...SvgUseArg) Node
- func SvgView(args ...SvgViewArg) Node
- func Table(args ...TableArg) Node
- func Tbody(args ...TbodyArg) Node
- func Td(args ...TdArg) Node
- func Template(args ...TemplateArg) Node
- func Textarea(args ...TextareaArg) Node
- func Tfoot(args ...TfootArg) Node
- func Th(args ...ThArg) Node
- func Thead(args ...TheadArg) Node
- func Time(args ...TimeArg) Node
- func Tr(args ...TrArg) Node
- func Track(args ...TrackArg) Node
- func Ul(args ...UlArg) Node
- func Video(args ...VideoArg) Node
- type NohrefOpt
- type NomoduleOpt
- type NoresizeOpt
- type NoshadeOpt
- type NovalidateOpt
- type NowrapOpt
- type NumOctavesOpt
- type ObjectArg
- type ObjectAttrs
- type ObjectOpt
- type OffsetOpt
- type OlArg
- type OlAttrs
- type OpenOpt
- type OperatorOpt
- type OptgroupArg
- type OptgroupAttrs
- type OptimumOpt
- type OptionArg
- type OptionAttrs
- type OrderOpt
- type OrientOpt
- type OutputArg
- type OutputAttrs
- type PArg
- type PAttrs
- type ParamArg
- type ParamAttrs
- type PathLengthOpt
- type PatternContentUnitsOpt
- type PatternOpt
- type PatternTransformOpt
- type PatternUnitsOpt
- type PingOpt
- type PlaceholderOpt
- type PlaysinlineOpt
- type PointsAtXOpt
- type PointsAtYOpt
- type PointsAtZOpt
- type PointsOpt
- type PopovertargetOpt
- type PopovertargetactionOpt
- type PosterOpt
- type PreArg
- type PreAttrs
- type PreloadOpt
- type PreserveAlphaOpt
- type PreserveAspectRatioOpt
- type PrimitiveUnitsOpt
- type ProfileOpt
- type ProgressArg
- type ProgressAttrs
- type PromptOpt
- type QArg
- type QAttrs
- type ROpt
- type RadiusOpt
- type ReadonlyOpt
- type RefXOpt
- type RefYOpt
- type ReferrerpolicyOpt
- type RelOpt
- type RepeatCountOpt
- type RepeatDurOpt
- type RequiredExtensionsOpt
- type RequiredFeaturesOpt
- type RequiredOpt
- type RestartOpt
- type RevOpt
- type ReversedOpt
- type RotateOpt
- type RowsOpt
- type RowspanOpt
- type RulesOpt
- type RxOpt
- type RyOpt
- type SandboxOpt
- type ScaleOpt
- type SchemeOpt
- type ScopeOpt
- type ScriptArg
- type ScriptAttrs
- type ScrollingOpt
- type SeedOpt
- type SelectArg
- type SelectAttrs
- type SelectedOpt
- type ShadowrootclonableOpt
- type ShadowrootcustomelementregistryOpt
- type ShadowrootdelegatesfocusOpt
- type ShadowrootmodeOpt
- type ShadowrootserializableOpt
- type ShapeOpt
- type SizeOpt
- type SizesOpt
- type SlopeOpt
- type SlotArg
- type SlotAttrs
- type SourceArg
- type SourceAttrs
- type SpacingOpt
- type SpanOpt
- type SpecularConstantOpt
- type SpecularExponentOpt
- type SpreadMethodOpt
- type SrcOpt
- type SrcdocOpt
- type SrclangOpt
- type SrcsetOpt
- type StandbyOpt
- type StartOffsetOpt
- type StartOpt
- type StdDeviationOpt
- type StepOpt
- type StitchTilesOpt
- type StopColorOpt
- type StyleArg
- type StyleAttrs
- type SummaryOpt
- type SurfaceScaleOpt
- type SvgAnimateArg
- type SvgAnimateAttrs
- type SvgAnimateMotionArg
- type SvgAnimateMotionAttrs
- type SvgAnimateTransformArg
- type SvgAnimateTransformAttrs
- type SvgArg
- type SvgAttrs
- type SvgCircleArg
- type SvgCircleAttrs
- type SvgClipPathArg
- type SvgClipPathAttrs
- type SvgDefsArg
- type SvgDefsAttrs
- type SvgDescArg
- type SvgDescAttrs
- type SvgEllipseArg
- type SvgEllipseAttrs
- type SvgFeBlendArg
- type SvgFeBlendAttrs
- type SvgFeColorMatrixArg
- type SvgFeColorMatrixAttrs
- type SvgFeComponentTransferArg
- type SvgFeComponentTransferAttrs
- type SvgFeCompositeArg
- type SvgFeCompositeAttrs
- type SvgFeConvolveMatrixArg
- type SvgFeConvolveMatrixAttrs
- type SvgFeDiffuseLightingArg
- type SvgFeDiffuseLightingAttrs
- type SvgFeDisplacementMapArg
- type SvgFeDisplacementMapAttrs
- type SvgFeDistantLightArg
- type SvgFeDistantLightAttrs
- type SvgFeDropShadowArg
- type SvgFeDropShadowAttrs
- type SvgFeFloodArg
- type SvgFeFloodAttrs
- type SvgFeFuncAArg
- type SvgFeFuncAAttrs
- type SvgFeFuncBArg
- type SvgFeFuncBAttrs
- type SvgFeFuncGArg
- type SvgFeFuncGAttrs
- type SvgFeFuncRArg
- type SvgFeFuncRAttrs
- type SvgFeGaussianBlurArg
- type SvgFeGaussianBlurAttrs
- type SvgFeImageArg
- type SvgFeImageAttrs
- type SvgFeMergeArg
- type SvgFeMergeAttrs
- type SvgFeMergeNodeArg
- type SvgFeMergeNodeAttrs
- type SvgFeMorphologyArg
- type SvgFeMorphologyAttrs
- type SvgFeOffsetArg
- type SvgFeOffsetAttrs
- type SvgFePointLightArg
- type SvgFePointLightAttrs
- type SvgFeSpecularLightingArg
- type SvgFeSpecularLightingAttrs
- type SvgFeSpotLightArg
- type SvgFeSpotLightAttrs
- type SvgFeTileArg
- type SvgFeTileAttrs
- type SvgFeTurbulenceArg
- type SvgFeTurbulenceAttrs
- type SvgFilterArg
- type SvgFilterAttrs
- type SvgForeignObjectArg
- type SvgForeignObjectAttrs
- type SvgGArg
- type SvgGAttrs
- type SvgImageArg
- type SvgImageAttrs
- type SvgLineArg
- type SvgLineAttrs
- type SvgLinearGradientArg
- type SvgLinearGradientAttrs
- type SvgMarkerArg
- type SvgMarkerAttrs
- type SvgMaskArg
- type SvgMaskAttrs
- type SvgMetadataArg
- type SvgMetadataAttrs
- type SvgMpathArg
- type SvgMpathAttrs
- type SvgPathArg
- type SvgPathAttrs
- type SvgPatternArg
- type SvgPatternAttrs
- type SvgPolygonArg
- type SvgPolygonAttrs
- type SvgPolylineArg
- type SvgPolylineAttrs
- type SvgRadialGradientArg
- type SvgRadialGradientAttrs
- type SvgRectArg
- type SvgRectAttrs
- type SvgSetArg
- type SvgSetAttrs
- type SvgStopArg
- type SvgStopAttrs
- type SvgSwitchArg
- type SvgSwitchAttrs
- type SvgSymbolArg
- type SvgSymbolAttrs
- type SvgTextArg
- type SvgTextAttrs
- type SvgTextPathArg
- type SvgTextPathAttrs
- type SvgTspanArg
- type SvgTspanAttrs
- type SvgUseArg
- type SvgUseAttrs
- type SvgViewArg
- type SvgViewAttrs
- type SystemLanguageOpt
- type TableArg
- type TableAttrs
- type TableValuesOpt
- type TargetOpt
- type TargetXOpt
- type TargetYOpt
- type TbodyArg
- type TbodyAttrs
- type TdArg
- type TdAttrs
- type TemplateArg
- type TemplateAttrs
- type TextLengthOpt
- type TextNode
- type TextOpt
- type TextareaArg
- type TextareaAttrs
- type TfootArg
- type TfootAttrs
- type ThArg
- type ThAttrs
- type TheadArg
- type TheadAttrs
- type TimeArg
- type TimeAttrs
- type ToOpt
- type TrArg
- type TrAttrs
- type TrackArg
- type TrackAttrs
- type TxtOpt
- type TypeOpt
- type TypemustmatchOpt
- type UlArg
- type UlAttrs
- type UnsafeTextNode
- type UnsafeTxtOpt
- type UsemapOpt
- type ValignOpt
- type ValueOpt
- type ValuesOpt
- type ValuetypeOpt
- type VersionOpt
- type VideoArg
- type VideoAttrs
- type ViewBoxOpt
- type VlinkOpt
- type VspaceOpt
- type WidthOpt
- type WrapOpt
- type X1Opt
- type X2Opt
- type XChannelSelectorOpt
- type XOpt
- type Y1Opt
- type Y2Opt
- type YChannelSelectorOpt
- type YOpt
- type ZOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteGlobal ¶ added in v0.13.0
func WriteGlobal(sb *strings.Builder, g *GlobalAttrs)
Generated WriteGlobal function based on gostar global attributes
Types ¶
type AAttrs ¶
type AAttrs struct {
Global GlobalAttrs
Charset string
Coords string
Download string
Href string
Hreflang string
Name string
Ping string
Referrerpolicy string
Rel string
Rev string
Shape string
Target string
Type string
}
func (*AAttrs) WriteAttrs ¶ added in v0.13.0
type AcceptCharsetOpt ¶
type AcceptCharsetOpt struct {
// contains filtered or unexported fields
}
func AAcceptCharset ¶ added in v0.13.0
func AAcceptCharset(v string) AcceptCharsetOpt
type AccumulateOpt ¶ added in v0.13.0
type AccumulateOpt struct {
// contains filtered or unexported fields
}
func AAccumulate ¶ added in v0.13.0
func AAccumulate(v string) AccumulateOpt
type AdditiveOpt ¶ added in v0.13.0
type AdditiveOpt struct {
// contains filtered or unexported fields
}
func AAdditive ¶ added in v0.13.0
func AAdditive(v string) AdditiveOpt
type AllowfullscreenOpt ¶
type AllowfullscreenOpt struct{}
func AAllowfullscreen ¶ added in v0.13.0
func AAllowfullscreen() AllowfullscreenOpt
type AllowpaymentrequestOpt ¶ added in v0.13.0
type AllowpaymentrequestOpt struct{}
func AAllowpaymentrequest ¶ added in v0.13.0
func AAllowpaymentrequest() AllowpaymentrequestOpt
type AllowusermediaOpt ¶ added in v0.13.0
type AllowusermediaOpt struct {
// contains filtered or unexported fields
}
func AAllowusermedia ¶ added in v0.13.0
func AAllowusermedia(v string) AllowusermediaOpt
type AmplitudeOpt ¶ added in v0.13.0
type AmplitudeOpt struct {
// contains filtered or unexported fields
}
func AAmplitude ¶ added in v0.13.0
func AAmplitude(v string) AmplitudeOpt
type AppletArg ¶ added in v0.13.0
type AppletArg interface {
// contains filtered or unexported methods
}
type AppletAttrs ¶ added in v0.13.0
type AppletAttrs struct {
Global GlobalAttrs
Align string
Alt string
Archive string
Code string
Codebase string
Height string
Hspace string
Name string
Object string
Vspace string
Width string
}
func (*AppletAttrs) WriteAttrs ¶ added in v0.13.0
func (a *AppletAttrs) WriteAttrs(sb *strings.Builder)
type ArchiveOpt ¶ added in v0.13.0
type ArchiveOpt struct {
// contains filtered or unexported fields
}
func AArchive ¶ added in v0.13.0
func AArchive(v string) ArchiveOpt
type AreaArg ¶ added in v0.13.0
type AreaArg interface {
// contains filtered or unexported methods
}
type AreaAttrs ¶ added in v0.13.0
type AreaAttrs struct {
Global GlobalAttrs
Alt string
Coords string
Download string
Href string
Hreflang string
Nohref bool
Ping string
Referrerpolicy string
Rel string
Shape string
Target string
Type string
}
func (*AreaAttrs) WriteAttrs ¶ added in v0.13.0
type Assets ¶
type Assets struct {
// contains filtered or unexported fields
}
Assets collects CSS and JS from components at compile-time
type AttrWriter ¶ added in v0.13.0
type AttributeNameOpt ¶ added in v0.13.0
type AttributeNameOpt struct {
// contains filtered or unexported fields
}
func AAttributeName ¶ added in v0.13.0
func AAttributeName(v string) AttributeNameOpt
type AttributeTypeOpt ¶ added in v0.13.0
type AttributeTypeOpt struct {
// contains filtered or unexported fields
}
func AAttributeType ¶ added in v0.13.0
func AAttributeType(v string) AttributeTypeOpt
type AudioAttrs ¶
type AudioAttrs struct {
Global GlobalAttrs
Autoplay bool
Controls bool
Crossorigin string
Loop bool
Muted bool
Preload string
Src string
}
func (*AudioAttrs) WriteAttrs ¶ added in v0.13.0
func (a *AudioAttrs) WriteAttrs(sb *strings.Builder)
type AutocompleteOpt ¶
type AutocompleteOpt struct {
// contains filtered or unexported fields
}
func AAutocomplete ¶ added in v0.13.0
func AAutocomplete(v string) AutocompleteOpt
type AutoplayOpt ¶
type AutoplayOpt struct{}
func AAutoplay ¶ added in v0.13.0
func AAutoplay() AutoplayOpt
type AzimuthOpt ¶ added in v0.13.0
type AzimuthOpt struct {
// contains filtered or unexported fields
}
func AAzimuth ¶ added in v0.13.0
func AAzimuth(v string) AzimuthOpt
type BackgroundOpt ¶ added in v0.13.0
type BackgroundOpt struct {
// contains filtered or unexported fields
}
func ABackground ¶ added in v0.13.0
func ABackground(v string) BackgroundOpt
type BaseArg ¶ added in v0.13.0
type BaseArg interface {
// contains filtered or unexported methods
}
type BaseAttrs ¶ added in v0.13.0
type BaseAttrs struct {
Global GlobalAttrs
Href string
Target string
}
func (*BaseAttrs) WriteAttrs ¶ added in v0.13.0
type BaseFrequencyOpt ¶ added in v0.13.0
type BaseFrequencyOpt struct {
// contains filtered or unexported fields
}
func ABaseFrequency ¶ added in v0.13.0
func ABaseFrequency(v string) BaseFrequencyOpt
type BasefontArg ¶ added in v0.13.0
type BasefontArg interface {
// contains filtered or unexported methods
}
type BasefontAttrs ¶ added in v0.13.0
type BasefontAttrs struct {
Global GlobalAttrs
Color string
Face string
Size string
}
func (*BasefontAttrs) WriteAttrs ¶ added in v0.13.0
func (a *BasefontAttrs) WriteAttrs(sb *strings.Builder)
type BgcolorOpt ¶ added in v0.13.0
type BgcolorOpt struct {
// contains filtered or unexported fields
}
func ABgcolor ¶ added in v0.13.0
func ABgcolor(v string) BgcolorOpt
type BlockingOpt ¶ added in v0.13.0
type BlockingOpt struct {
// contains filtered or unexported fields
}
func ABlocking ¶ added in v0.13.0
func ABlocking(v string) BlockingOpt
type BlockquoteArg ¶
type BlockquoteArg interface {
// contains filtered or unexported methods
}
type BlockquoteAttrs ¶
type BlockquoteAttrs struct {
Global GlobalAttrs
Cite string
}
func (*BlockquoteAttrs) WriteAttrs ¶ added in v0.13.0
func (a *BlockquoteAttrs) WriteAttrs(sb *strings.Builder)
type BodyAttrs ¶
type BodyAttrs struct {
Global GlobalAttrs
Alink string
Background string
Bgcolor string
Link string
Text string
Vlink string
}
func (*BodyAttrs) WriteAttrs ¶ added in v0.13.0
type BorderOpt ¶ added in v0.13.0
type BorderOpt struct {
// contains filtered or unexported fields
}
type BrAttrs ¶
type BrAttrs struct {
Global GlobalAttrs
Clear string
}
func (*BrAttrs) WriteAttrs ¶ added in v0.13.0
type ButtonAttrs ¶
type ButtonAttrs struct {
Global GlobalAttrs
Command string
Commandfor string
Disabled bool
Form string
Formaction string
Formenctype string
Formmethod string
Formnovalidate bool
Formtarget string
Name string
Popovertarget string
Popovertargetaction string
Type string
Value string
}
func (*ButtonAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ButtonAttrs) WriteAttrs(sb *strings.Builder)
type CalcModeOpt ¶ added in v0.13.0
type CalcModeOpt struct {
// contains filtered or unexported fields
}
func ACalcMode ¶ added in v0.13.0
func ACalcMode(v string) CalcModeOpt
type CanvasAttrs ¶
type CanvasAttrs struct {
Global GlobalAttrs
Height string
Width string
}
func (*CanvasAttrs) WriteAttrs ¶ added in v0.13.0
func (a *CanvasAttrs) WriteAttrs(sb *strings.Builder)
type CaptionArg ¶
type CaptionArg interface {
// contains filtered or unexported methods
}
type CaptionAttrs ¶
type CaptionAttrs struct {
Global GlobalAttrs
Align string
}
func (*CaptionAttrs) WriteAttrs ¶ added in v0.13.0
func (a *CaptionAttrs) WriteAttrs(sb *strings.Builder)
type CellpaddingOpt ¶ added in v0.13.0
type CellpaddingOpt struct {
// contains filtered or unexported fields
}
func ACellpadding ¶ added in v0.13.0
func ACellpadding(v string) CellpaddingOpt
type CellspacingOpt ¶ added in v0.13.0
type CellspacingOpt struct {
// contains filtered or unexported fields
}
func ACellspacing ¶ added in v0.13.0
func ACellspacing(v string) CellspacingOpt
type CharoffOpt ¶ added in v0.13.0
type CharoffOpt struct {
// contains filtered or unexported fields
}
func ACharoff ¶ added in v0.13.0
func ACharoff(v string) CharoffOpt
type CharsetOpt ¶
type CharsetOpt struct {
// contains filtered or unexported fields
}
func ACharset ¶ added in v0.13.0
func ACharset(v string) CharsetOpt
type CheckedOpt ¶
type CheckedOpt struct{}
func AChecked ¶ added in v0.13.0
func AChecked() CheckedOpt
type ChildOpt ¶
type ChildOpt struct {
// contains filtered or unexported fields
}
func Fragment ¶ added in v0.13.0
Fragment creates a fragment containing the given components. Like React fragments, this renders the children directly without any wrapper element.
Example:
Fragment(
Div(T("First child")),
P(T("Second child")),
Span(T("Third child")),
)
This renders as three sibling elements with no containing wrapper.
type ClassidOpt ¶ added in v0.13.0
type ClassidOpt struct {
// contains filtered or unexported fields
}
func AClassid ¶ added in v0.13.0
func AClassid(v string) ClassidOpt
type ClipPathUnitsOpt ¶ added in v0.13.0
type ClipPathUnitsOpt struct {
// contains filtered or unexported fields
}
func AClipPathUnits ¶ added in v0.13.0
func AClipPathUnits(v string) ClipPathUnitsOpt
type ClosedbyOpt ¶ added in v0.13.0
type ClosedbyOpt struct {
// contains filtered or unexported fields
}
func AClosedby ¶ added in v0.13.0
func AClosedby(v string) ClosedbyOpt
type CodebaseOpt ¶ added in v0.13.0
type CodebaseOpt struct {
// contains filtered or unexported fields
}
func ACodebase ¶ added in v0.13.0
func ACodebase(v string) CodebaseOpt
type CodetypeOpt ¶ added in v0.13.0
type CodetypeOpt struct {
// contains filtered or unexported fields
}
func ACodetype ¶ added in v0.13.0
func ACodetype(v string) CodetypeOpt
type ColAttrs ¶
type ColAttrs struct {
Global GlobalAttrs
Align string
Char string
Charoff string
Span string
Valign string
Width string
}
func (*ColAttrs) WriteAttrs ¶ added in v0.13.0
type ColgroupArg ¶
type ColgroupArg interface {
// contains filtered or unexported methods
}
type ColgroupAttrs ¶
type ColgroupAttrs struct {
Global GlobalAttrs
Align string
Char string
Charoff string
Span string
Valign string
Width string
}
func (*ColgroupAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ColgroupAttrs) WriteAttrs(sb *strings.Builder)
type ColorspaceOpt ¶ added in v0.13.0
type ColorspaceOpt struct {
// contains filtered or unexported fields
}
func AColorspace ¶ added in v0.13.0
func AColorspace(v string) ColorspaceOpt
type ColspanOpt ¶
type ColspanOpt struct {
// contains filtered or unexported fields
}
func AColspan ¶ added in v0.13.0
func AColspan(v string) ColspanOpt
type CommandOpt ¶ added in v0.13.0
type CommandOpt struct {
// contains filtered or unexported fields
}
func ACommand ¶ added in v0.13.0
func ACommand(v string) CommandOpt
type CommandforOpt ¶ added in v0.13.0
type CommandforOpt struct {
// contains filtered or unexported fields
}
func ACommandfor ¶ added in v0.13.0
func ACommandfor(v string) CommandforOpt
type CompactOpt ¶ added in v0.13.0
type CompactOpt struct{}
func ACompact ¶ added in v0.13.0
func ACompact() CompactOpt
type ContentOpt ¶
type ContentOpt struct {
// contains filtered or unexported fields
}
func AContent ¶ added in v0.13.0
func AContent(v string) ContentOpt
type ControlsOpt ¶
type ControlsOpt struct{}
func AControls ¶ added in v0.13.0
func AControls() ControlsOpt
type CoordsOpt ¶ added in v0.13.0
type CoordsOpt struct {
// contains filtered or unexported fields
}
type CrossoriginOpt ¶
type CrossoriginOpt struct {
// contains filtered or unexported fields
}
func ACrossorigin ¶ added in v0.13.0
func ACrossorigin(v string) CrossoriginOpt
type DataArg ¶ added in v0.13.0
type DataArg interface {
// contains filtered or unexported methods
}
type DataAttrs ¶ added in v0.13.0
type DataAttrs struct {
Global GlobalAttrs
Value string
}
func (*DataAttrs) WriteAttrs ¶ added in v0.13.0
type DatetimeOpt ¶
type DatetimeOpt struct {
// contains filtered or unexported fields
}
func ADatetime ¶ added in v0.13.0
func ADatetime(v string) DatetimeOpt
type DeclareOpt ¶ added in v0.13.0
type DeclareOpt struct{}
func ADeclare ¶ added in v0.13.0
func ADeclare() DeclareOpt
type DecodingOpt ¶
type DecodingOpt struct {
// contains filtered or unexported fields
}
func ADecoding ¶ added in v0.13.0
func ADecoding(v string) DecodingOpt
type DefaultOpt ¶
type DefaultOpt struct{}
func ADefault ¶ added in v0.13.0
func ADefault() DefaultOpt
type DelAttrs ¶
type DelAttrs struct {
Global GlobalAttrs
Cite string
Datetime string
}
func (*DelAttrs) WriteAttrs ¶ added in v0.13.0
type DetailsArg ¶
type DetailsArg interface {
// contains filtered or unexported methods
}
type DetailsAttrs ¶
type DetailsAttrs struct {
Global GlobalAttrs
Name string
Open bool
}
func (*DetailsAttrs) WriteAttrs ¶ added in v0.13.0
func (a *DetailsAttrs) WriteAttrs(sb *strings.Builder)
type DialogAttrs ¶
type DialogAttrs struct {
Global GlobalAttrs
Closedby string
Open bool
}
func (*DialogAttrs) WriteAttrs ¶ added in v0.13.0
func (a *DialogAttrs) WriteAttrs(sb *strings.Builder)
type DiffuseConstantOpt ¶ added in v0.13.0
type DiffuseConstantOpt struct {
// contains filtered or unexported fields
}
func ADiffuseConstant ¶ added in v0.13.0
func ADiffuseConstant(v string) DiffuseConstantOpt
type DirAttrs ¶ added in v0.13.0
type DirAttrs struct {
Global GlobalAttrs
Compact bool
}
func (*DirAttrs) WriteAttrs ¶ added in v0.13.0
type DirnameOpt ¶ added in v0.13.0
type DirnameOpt struct {
// contains filtered or unexported fields
}
func ADirname ¶ added in v0.13.0
func ADirname(v string) DirnameOpt
type DisabledOpt ¶
type DisabledOpt struct{}
func ADisabled ¶ added in v0.13.0
func ADisabled() DisabledOpt
type DivAttrs ¶
type DivAttrs struct {
Global GlobalAttrs
Align string
}
func (*DivAttrs) WriteAttrs ¶ added in v0.13.0
type DivisorOpt ¶ added in v0.13.0
type DivisorOpt struct {
// contains filtered or unexported fields
}
func ADivisor ¶ added in v0.13.0
func ADivisor(v string) DivisorOpt
type DlAttrs ¶
type DlAttrs struct {
Global GlobalAttrs
Compact bool
}
func (*DlAttrs) WriteAttrs ¶ added in v0.13.0
type DownloadOpt ¶ added in v0.13.0
type DownloadOpt struct {
// contains filtered or unexported fields
}
func ADownload ¶ added in v0.13.0
func ADownload(v string) DownloadOpt
type EdgeModeOpt ¶ added in v0.13.0
type EdgeModeOpt struct {
// contains filtered or unexported fields
}
func AEdgeMode ¶ added in v0.13.0
func AEdgeMode(v string) EdgeModeOpt
type ElevationOpt ¶ added in v0.13.0
type ElevationOpt struct {
// contains filtered or unexported fields
}
func AElevation ¶ added in v0.13.0
func AElevation(v string) ElevationOpt
type EmbedArg ¶ added in v0.13.0
type EmbedArg interface {
// contains filtered or unexported methods
}
type EmbedAttrs ¶ added in v0.13.0
type EmbedAttrs struct {
Global GlobalAttrs
Height string
Src string
Type string
Width string
}
func (*EmbedAttrs) WriteAttrs ¶ added in v0.13.0
func (a *EmbedAttrs) WriteAttrs(sb *strings.Builder)
type EnctypeOpt ¶
type EnctypeOpt struct {
// contains filtered or unexported fields
}
func AEnctype ¶ added in v0.13.0
func AEnctype(v string) EnctypeOpt
type ExponentOpt ¶ added in v0.13.0
type ExponentOpt struct {
// contains filtered or unexported fields
}
func AExponent ¶ added in v0.13.0
func AExponent(v string) ExponentOpt
type ExternalResourcesRequiredOpt ¶ added in v0.13.0
type ExternalResourcesRequiredOpt struct{}
func AExternalResourcesRequired ¶ added in v0.13.0
func AExternalResourcesRequired() ExternalResourcesRequiredOpt
type FetchpriorityOpt ¶ added in v0.13.0
type FetchpriorityOpt struct {
// contains filtered or unexported fields
}
func AFetchpriority ¶ added in v0.13.0
func AFetchpriority(v string) FetchpriorityOpt
type FieldsetArg ¶
type FieldsetArg interface {
// contains filtered or unexported methods
}
type FieldsetAttrs ¶
type FieldsetAttrs struct {
Global GlobalAttrs
Disabled bool
Form string
Name string
}
func (*FieldsetAttrs) WriteAttrs ¶ added in v0.13.0
func (a *FieldsetAttrs) WriteAttrs(sb *strings.Builder)
type FillOpacityOpt ¶
type FillOpacityOpt struct {
// contains filtered or unexported fields
}
func AFillOpacity ¶ added in v0.13.0
func AFillOpacity(v string) FillOpacityOpt
type FilterUnitsOpt ¶ added in v0.13.0
type FilterUnitsOpt struct {
// contains filtered or unexported fields
}
func AFilterUnits ¶ added in v0.13.0
func AFilterUnits(v string) FilterUnitsOpt
type FloodColorOpt ¶ added in v0.13.0
type FloodColorOpt struct {
// contains filtered or unexported fields
}
func AFloodColor ¶ added in v0.13.0
func AFloodColor(v string) FloodColorOpt
type FloodOpacityOpt ¶ added in v0.13.0
type FloodOpacityOpt struct {
// contains filtered or unexported fields
}
func AFloodOpacity ¶ added in v0.13.0
func AFloodOpacity(v string) FloodOpacityOpt
type FontArg ¶ added in v0.13.0
type FontArg interface {
// contains filtered or unexported methods
}
type FontAttrs ¶ added in v0.13.0
type FontAttrs struct {
Global GlobalAttrs
Color string
Face string
Size string
}
func (*FontAttrs) WriteAttrs ¶ added in v0.13.0
type FormAttrs ¶
type FormAttrs struct {
Global GlobalAttrs
Accept string
AcceptCharset string
Action string
Autocomplete string
Enctype string
Method string
Name string
Novalidate bool
Target string
}
func (*FormAttrs) WriteAttrs ¶ added in v0.13.0
type FormactionOpt ¶
type FormactionOpt struct {
// contains filtered or unexported fields
}
func AFormaction ¶ added in v0.13.0
func AFormaction(v string) FormactionOpt
type FormenctypeOpt ¶
type FormenctypeOpt struct {
// contains filtered or unexported fields
}
func AFormenctype ¶ added in v0.13.0
func AFormenctype(v string) FormenctypeOpt
type FormmethodOpt ¶
type FormmethodOpt struct {
// contains filtered or unexported fields
}
func AFormmethod ¶ added in v0.13.0
func AFormmethod(v string) FormmethodOpt
type FormnovalidateOpt ¶
type FormnovalidateOpt struct{}
func AFormnovalidate ¶ added in v0.13.0
func AFormnovalidate() FormnovalidateOpt
type FormtargetOpt ¶
type FormtargetOpt struct {
// contains filtered or unexported fields
}
func AFormtarget ¶ added in v0.13.0
func AFormtarget(v string) FormtargetOpt
type FragmentNode ¶ added in v0.13.0
type FragmentNode struct {
// contains filtered or unexported fields
}
FragmentNode represents a collection of components that render without a wrapper element, similar to React's <> fragment syntax. It implements Component and can be used anywhere a single Component is expected, but renders as multiple sibling elements.
func (FragmentNode) Children ¶ added in v0.13.0
func (f FragmentNode) Children() []Component
Children exposes the fragment's children for traversals that need to walk the component tree (e.g., asset collection).
type FrameArg ¶ added in v0.13.0
type FrameArg interface {
// contains filtered or unexported methods
}
type FrameAttrs ¶ added in v0.13.0
type FrameAttrs struct {
Global GlobalAttrs
Frameborder string
Longdesc string
Marginheight string
Marginwidth string
Name string
Noresize bool
Scrolling string
Src string
}
func (*FrameAttrs) WriteAttrs ¶ added in v0.13.0
func (a *FrameAttrs) WriteAttrs(sb *strings.Builder)
type FrameborderOpt ¶ added in v0.13.0
type FrameborderOpt struct {
// contains filtered or unexported fields
}
func AFrameborder ¶ added in v0.13.0
func AFrameborder(v string) FrameborderOpt
type FramesetArg ¶ added in v0.13.0
type FramesetArg interface {
// contains filtered or unexported methods
}
type FramesetAttrs ¶ added in v0.13.0
type FramesetAttrs struct {
Global GlobalAttrs
Cols string
Rows string
}
func (*FramesetAttrs) WriteAttrs ¶ added in v0.13.0
func (a *FramesetAttrs) WriteAttrs(sb *strings.Builder)
type Global ¶
type Global struct {
// contains filtered or unexported fields
}
Global option: one glue impl for all tags (methods are added in tag files)
func AAccesskey ¶ added in v0.13.0
func AAutocapitalize ¶ added in v0.13.0
func AAutocorrect ¶ added in v0.13.0
func AAutofocus ¶ added in v0.13.0
func AAutofocus() Global
func AContenteditable ¶ added in v0.13.0
func ADraggable ¶ added in v0.13.0
func AEnterkeyhint ¶ added in v0.13.0
func AExportparts ¶ added in v0.13.0
func AInputmode ¶ added in v0.13.0
func AItemscope ¶ added in v0.13.0
func AItemscope() Global
func ASpellcheck ¶ added in v0.13.0
func ATranslate ¶ added in v0.13.0
func AWritingsuggestions ¶ added in v0.13.0
func (Global) Do ¶ added in v0.13.0
func (g Global) Do(ga *GlobalAttrs)
Do applies the global attribute function to GlobalAttrs (public for SVG package integration)
type GlobalAttrs ¶
type GlobalAttrs struct {
// Generated from wooorm global attributes
// Common core attributes
Class string
Accesskey string
Autocapitalize string
Autocorrect string
Contenteditable string
Dir string
Enterkeyhint string
Exportparts string
Id string
Inputmode string
Is string
Itemid string
Itemprop string
Itemref string
Itemtype string
Lang string
Nonce string
Part string
Popover string
Slot string
Title string
// Style attribute as a single string
Style string
// Map attributes
Aria map[string]string // aria-*
Data map[string]string // data-*
Events map[string]string // "onclick" -> "handler()"
Custom map[string]string // custom attributes like hx-*, x-*, etc.
// Pointers for tri-state values
Tabindex *int
Draggable *string
Spellcheck *string
Translate *string
Writingsuggestions *string
// Booleans
Autofocus, Hidden, Inert, Itemscope bool
}
type GradientTransformOpt ¶ added in v0.13.0
type GradientTransformOpt struct {
// contains filtered or unexported fields
}
func AGradientTransform ¶ added in v0.13.0
func AGradientTransform(v string) GradientTransformOpt
type GradientUnitsOpt ¶ added in v0.13.0
type GradientUnitsOpt struct {
// contains filtered or unexported fields
}
func AGradientUnits ¶ added in v0.13.0
func AGradientUnits(v string) GradientUnitsOpt
type H1Attrs ¶
type H1Attrs struct {
Global GlobalAttrs
Align string
}
func (*H1Attrs) WriteAttrs ¶ added in v0.13.0
type H2Attrs ¶
type H2Attrs struct {
Global GlobalAttrs
Align string
}
func (*H2Attrs) WriteAttrs ¶ added in v0.13.0
type H3Attrs ¶
type H3Attrs struct {
Global GlobalAttrs
Align string
}
func (*H3Attrs) WriteAttrs ¶ added in v0.13.0
type H4Attrs ¶
type H4Attrs struct {
Global GlobalAttrs
Align string
}
func (*H4Attrs) WriteAttrs ¶ added in v0.13.0
type H5Attrs ¶
type H5Attrs struct {
Global GlobalAttrs
Align string
}
func (*H5Attrs) WriteAttrs ¶ added in v0.13.0
type H6Attrs ¶
type H6Attrs struct {
Global GlobalAttrs
Align string
}
func (*H6Attrs) WriteAttrs ¶ added in v0.13.0
type HasCSS ¶
type HasCSS interface {
CSS() string
}
HasCSS interface for components that provide CSS
type HasJS ¶
type HasJS interface {
JS() string
}
HasJS interface for components that provide JavaScript
type HasName ¶
type HasName interface {
Name() string
}
HasName interface for components that provide explicit names for deduplication
type HeadAttrs ¶
type HeadAttrs struct {
Global GlobalAttrs
Profile string
}
func (*HeadAttrs) WriteAttrs ¶ added in v0.13.0
type HeadersOpt ¶
type HeadersOpt struct {
// contains filtered or unexported fields
}
func AHeaders ¶ added in v0.13.0
func AHeaders(v string) HeadersOpt
type HrAttrs ¶
type HrAttrs struct {
Global GlobalAttrs
Align string
Noshade bool
Size string
Width string
}
func (*HrAttrs) WriteAttrs ¶ added in v0.13.0
type HreflangOpt ¶
type HreflangOpt struct {
// contains filtered or unexported fields
}
func AHreflang ¶ added in v0.13.0
func AHreflang(v string) HreflangOpt
type HspaceOpt ¶ added in v0.13.0
type HspaceOpt struct {
// contains filtered or unexported fields
}
type HtmlAttrs ¶
type HtmlAttrs struct {
Global GlobalAttrs
Manifest string
Version string
}
func (*HtmlAttrs) WriteAttrs ¶ added in v0.13.0
type HttpEquivOpt ¶
type HttpEquivOpt struct {
// contains filtered or unexported fields
}
func AHttpEquiv ¶ added in v0.13.0
func AHttpEquiv(v string) HttpEquivOpt
type IframeAttrs ¶
type IframeAttrs struct {
Global GlobalAttrs
Align string
Allow string
Allowfullscreen bool
Allowpaymentrequest bool
Allowusermedia string
Frameborder string
Height string
Loading string
Longdesc string
Marginheight string
Marginwidth string
Name string
Referrerpolicy string
Sandbox string
Scrolling string
Src string
Srcdoc string
Width string
}
func (*IframeAttrs) WriteAttrs ¶ added in v0.13.0
func (a *IframeAttrs) WriteAttrs(sb *strings.Builder)
type ImagesizesOpt ¶ added in v0.13.0
type ImagesizesOpt struct {
// contains filtered or unexported fields
}
func AImagesizes ¶ added in v0.13.0
func AImagesizes(v string) ImagesizesOpt
type ImagesrcsetOpt ¶ added in v0.13.0
type ImagesrcsetOpt struct {
// contains filtered or unexported fields
}
func AImagesrcset ¶ added in v0.13.0
func AImagesrcset(v string) ImagesrcsetOpt
type ImgAttrs ¶
type ImgAttrs struct {
Global GlobalAttrs
Align string
Alt string
Border string
Crossorigin string
Decoding string
Fetchpriority string
Height string
Hspace string
Ismap bool
Loading string
Longdesc string
Name string
Referrerpolicy string
Sizes string
Src string
Srcset string
Usemap string
Vspace string
Width string
}
func (*ImgAttrs) WriteAttrs ¶ added in v0.13.0
type InputAttrs ¶
type InputAttrs struct {
Global GlobalAttrs
Accept string
Align string
Alpha string
Alt string
Autocomplete string
Checked bool
Colorspace string
Dirname string
Disabled bool
Form string
Formaction string
Formenctype string
Formmethod string
Formnovalidate bool
Formtarget string
Height string
Ismap bool
List string
Max string
Maxlength string
Min string
Minlength string
Multiple bool
Name string
Pattern string
Placeholder string
Popovertarget string
Popovertargetaction string
Readonly bool
Required bool
Size string
Src string
Step string
Type string
Usemap string
Value string
Width string
}
func (*InputAttrs) WriteAttrs ¶ added in v0.13.0
func (a *InputAttrs) WriteAttrs(sb *strings.Builder)
type InsAttrs ¶
type InsAttrs struct {
Global GlobalAttrs
Cite string
Datetime string
}
func (*InsAttrs) WriteAttrs ¶ added in v0.13.0
type IntegrityOpt ¶ added in v0.13.0
type IntegrityOpt struct {
// contains filtered or unexported fields
}
func AIntegrity ¶ added in v0.13.0
func AIntegrity(v string) IntegrityOpt
type InterceptOpt ¶ added in v0.13.0
type InterceptOpt struct {
// contains filtered or unexported fields
}
func AIntercept ¶ added in v0.13.0
func AIntercept(v string) InterceptOpt
type IsindexArg ¶ added in v0.13.0
type IsindexArg interface {
// contains filtered or unexported methods
}
type IsindexAttrs ¶ added in v0.13.0
type IsindexAttrs struct {
Global GlobalAttrs
Prompt string
}
func (*IsindexAttrs) WriteAttrs ¶ added in v0.13.0
func (a *IsindexAttrs) WriteAttrs(sb *strings.Builder)
type KernelMatrixOpt ¶ added in v0.13.0
type KernelMatrixOpt struct {
// contains filtered or unexported fields
}
func AKernelMatrix ¶ added in v0.13.0
func AKernelMatrix(v string) KernelMatrixOpt
type KernelUnitLengthOpt ¶ added in v0.13.0
type KernelUnitLengthOpt struct {
// contains filtered or unexported fields
}
func AKernelUnitLength ¶ added in v0.13.0
func AKernelUnitLength(v string) KernelUnitLengthOpt
type KeySplinesOpt ¶ added in v0.13.0
type KeySplinesOpt struct {
// contains filtered or unexported fields
}
func AKeySplines ¶ added in v0.13.0
func AKeySplines(v string) KeySplinesOpt
type KeyTimesOpt ¶ added in v0.13.0
type KeyTimesOpt struct {
// contains filtered or unexported fields
}
func AKeyTimes ¶ added in v0.13.0
func AKeyTimes(v string) KeyTimesOpt
type LabelAttrs ¶
type LabelAttrs struct {
Global GlobalAttrs
For string
Form string
}
func (*LabelAttrs) WriteAttrs ¶ added in v0.13.0
func (a *LabelAttrs) WriteAttrs(sb *strings.Builder)
type LanguageOpt ¶ added in v0.13.0
type LanguageOpt struct {
// contains filtered or unexported fields
}
func ALanguage ¶ added in v0.13.0
func ALanguage(v string) LanguageOpt
type LegendAttrs ¶
type LegendAttrs struct {
Global GlobalAttrs
Align string
}
func (*LegendAttrs) WriteAttrs ¶ added in v0.13.0
func (a *LegendAttrs) WriteAttrs(sb *strings.Builder)
type LengthAdjustOpt ¶
type LengthAdjustOpt struct {
// contains filtered or unexported fields
}
func ALengthAdjust ¶ added in v0.13.0
func ALengthAdjust(v string) LengthAdjustOpt
type LiAttrs ¶
type LiAttrs struct {
Global GlobalAttrs
Type string
Value string
}
func (*LiAttrs) WriteAttrs ¶ added in v0.13.0
type LimitingConeAngleOpt ¶ added in v0.13.0
type LimitingConeAngleOpt struct {
// contains filtered or unexported fields
}
func ALimitingConeAngle ¶ added in v0.13.0
func ALimitingConeAngle(v string) LimitingConeAngleOpt
type LinkAttrs ¶
type LinkAttrs struct {
Global GlobalAttrs
As string
Blocking string
Charset string
Color string
Crossorigin string
Disabled bool
Fetchpriority string
Href string
Hreflang string
Imagesizes string
Imagesrcset string
Integrity string
Media string
Referrerpolicy string
Rel string
Rev string
Sizes string
Target string
Type string
}
func (*LinkAttrs) WriteAttrs ¶ added in v0.13.0
type LoadingOpt ¶
type LoadingOpt struct {
// contains filtered or unexported fields
}
func ALoading ¶ added in v0.13.0
func ALoading(v string) LoadingOpt
type LongdescOpt ¶ added in v0.13.0
type LongdescOpt struct {
// contains filtered or unexported fields
}
func ALongdesc ¶ added in v0.13.0
func ALongdesc(v string) LongdescOpt
type ManifestOpt ¶
type ManifestOpt struct {
// contains filtered or unexported fields
}
func AManifest ¶ added in v0.13.0
func AManifest(v string) ManifestOpt
type MapAttrs ¶ added in v0.13.0
type MapAttrs struct {
Global GlobalAttrs
Name string
}
func (*MapAttrs) WriteAttrs ¶ added in v0.13.0
type MarginheightOpt ¶ added in v0.13.0
type MarginheightOpt struct {
// contains filtered or unexported fields
}
func AMarginheight ¶ added in v0.13.0
func AMarginheight(v string) MarginheightOpt
type MarginwidthOpt ¶ added in v0.13.0
type MarginwidthOpt struct {
// contains filtered or unexported fields
}
func AMarginwidth ¶ added in v0.13.0
func AMarginwidth(v string) MarginwidthOpt
type MarkerHeightOpt ¶ added in v0.13.0
type MarkerHeightOpt struct {
// contains filtered or unexported fields
}
func AMarkerHeight ¶ added in v0.13.0
func AMarkerHeight(v string) MarkerHeightOpt
type MarkerUnitsOpt ¶ added in v0.13.0
type MarkerUnitsOpt struct {
// contains filtered or unexported fields
}
func AMarkerUnits ¶ added in v0.13.0
func AMarkerUnits(v string) MarkerUnitsOpt
type MarkerWidthOpt ¶ added in v0.13.0
type MarkerWidthOpt struct {
// contains filtered or unexported fields
}
func AMarkerWidth ¶ added in v0.13.0
func AMarkerWidth(v string) MarkerWidthOpt
type MaskContentUnitsOpt ¶ added in v0.13.0
type MaskContentUnitsOpt struct {
// contains filtered or unexported fields
}
func AMaskContentUnits ¶ added in v0.13.0
func AMaskContentUnits(v string) MaskContentUnitsOpt
type MaskUnitsOpt ¶ added in v0.13.0
type MaskUnitsOpt struct {
// contains filtered or unexported fields
}
func AMaskUnits ¶ added in v0.13.0
func AMaskUnits(v string) MaskUnitsOpt
type MaxlengthOpt ¶
type MaxlengthOpt struct {
// contains filtered or unexported fields
}
func AMaxlength ¶ added in v0.13.0
func AMaxlength(v string) MaxlengthOpt
type MenuArg ¶ added in v0.13.0
type MenuArg interface {
// contains filtered or unexported methods
}
type MenuAttrs ¶ added in v0.13.0
type MenuAttrs struct {
Global GlobalAttrs
Compact bool
}
func (*MenuAttrs) WriteAttrs ¶ added in v0.13.0
type MetaAttrs ¶
type MetaAttrs struct {
Global GlobalAttrs
Charset string
Content string
HttpEquiv string
Media string
Name string
Scheme string
}
func (*MetaAttrs) WriteAttrs ¶ added in v0.13.0
type MeterArg ¶ added in v0.13.0
type MeterArg interface {
// contains filtered or unexported methods
}
type MeterAttrs ¶ added in v0.13.0
type MeterAttrs struct {
Global GlobalAttrs
High string
Low string
Max string
Min string
Optimum string
Value string
}
func (*MeterAttrs) WriteAttrs ¶ added in v0.13.0
func (a *MeterAttrs) WriteAttrs(sb *strings.Builder)
type MinlengthOpt ¶
type MinlengthOpt struct {
// contains filtered or unexported fields
}
func AMinlength ¶ added in v0.13.0
func AMinlength(v string) MinlengthOpt
type MultipleOpt ¶
type MultipleOpt struct{}
func AMultiple ¶ added in v0.13.0
func AMultiple() MultipleOpt
type Node ¶
type Node struct {
Tag string
Attrs any // must implement AttrWriter
Kids []Component // empty for void tags
Void bool
AssetCSS string // CSS to be collected by asset system
AssetJS string // JavaScript to be collected by asset system
AssetName string // Name for asset deduplication
}
func Basefont ¶ added in v0.13.0
func Basefont(args ...BasefontArg) Node
func Blockquote ¶
func Blockquote(args ...BlockquoteArg) Node
func Caption ¶
func Caption(args ...CaptionArg) Node
func Colgroup ¶
func Colgroup(args ...ColgroupArg) Node
func Details ¶
func Details(args ...DetailsArg) Node
func Fieldset ¶
func Fieldset(args ...FieldsetArg) Node
func Frameset ¶ added in v0.13.0
func Frameset(args ...FramesetArg) Node
func Isindex ¶ added in v0.13.0
func Isindex(args ...IsindexArg) Node
func Optgroup ¶
func Optgroup(args ...OptgroupArg) Node
func Progress ¶ added in v0.13.0
func Progress(args ...ProgressArg) Node
func SvgAnimate ¶ added in v0.13.0
func SvgAnimate(args ...SvgAnimateArg) Node
SvgAnimate creates an SVG animate element (self-closing)
func SvgAnimateMotion ¶ added in v0.13.0
func SvgAnimateMotion(args ...SvgAnimateMotionArg) Node
SvgAnimateMotion creates an SVG animateMotion element (self-closing)
func SvgAnimateTransform ¶ added in v0.13.0
func SvgAnimateTransform(args ...SvgAnimateTransformArg) Node
SvgAnimateTransform creates an SVG animateTransform element (self-closing)
func SvgCircle ¶ added in v0.13.0
func SvgCircle(args ...SvgCircleArg) Node
SvgCircle creates an SVG circle element (self-closing)
func SvgClipPath ¶ added in v0.13.0
func SvgClipPath(args ...SvgClipPathArg) Node
SvgClipPath creates an SVG clipPath element
func SvgDefs ¶ added in v0.13.0
func SvgDefs(args ...SvgDefsArg) Node
SvgDefs creates an SVG defs element
func SvgDesc ¶ added in v0.13.0
func SvgDesc(args ...SvgDescArg) Node
SvgDesc creates an SVG desc element
func SvgEllipse ¶ added in v0.13.0
func SvgEllipse(args ...SvgEllipseArg) Node
SvgEllipse creates an SVG ellipse element (self-closing)
func SvgFeBlend ¶ added in v0.13.0
func SvgFeBlend(args ...SvgFeBlendArg) Node
SvgFeBlend creates an SVG feBlend element
func SvgFeColorMatrix ¶ added in v0.13.0
func SvgFeColorMatrix(args ...SvgFeColorMatrixArg) Node
SvgFeColorMatrix creates an SVG feColorMatrix element
func SvgFeComponentTransfer ¶ added in v0.13.0
func SvgFeComponentTransfer(args ...SvgFeComponentTransferArg) Node
SvgFeComponentTransfer creates an SVG feComponentTransfer element
func SvgFeComposite ¶ added in v0.13.0
func SvgFeComposite(args ...SvgFeCompositeArg) Node
SvgFeComposite creates an SVG feComposite element
func SvgFeConvolveMatrix ¶ added in v0.13.0
func SvgFeConvolveMatrix(args ...SvgFeConvolveMatrixArg) Node
SvgFeConvolveMatrix creates an SVG feConvolveMatrix element
func SvgFeDiffuseLighting ¶ added in v0.13.0
func SvgFeDiffuseLighting(args ...SvgFeDiffuseLightingArg) Node
SvgFeDiffuseLighting creates an SVG feDiffuseLighting element
func SvgFeDisplacementMap ¶ added in v0.13.0
func SvgFeDisplacementMap(args ...SvgFeDisplacementMapArg) Node
SvgFeDisplacementMap creates an SVG feDisplacementMap element
func SvgFeDistantLight ¶ added in v0.13.0
func SvgFeDistantLight(args ...SvgFeDistantLightArg) Node
SvgFeDistantLight creates an SVG feDistantLight element
func SvgFeDropShadow ¶ added in v0.13.0
func SvgFeDropShadow(args ...SvgFeDropShadowArg) Node
SvgFeDropShadow creates an SVG feDropShadow element
func SvgFeFlood ¶ added in v0.13.0
func SvgFeFlood(args ...SvgFeFloodArg) Node
SvgFeFlood creates an SVG feFlood element
func SvgFeFuncA ¶ added in v0.13.0
func SvgFeFuncA(args ...SvgFeFuncAArg) Node
SvgFeFuncA creates an SVG feFuncA element
func SvgFeFuncB ¶ added in v0.13.0
func SvgFeFuncB(args ...SvgFeFuncBArg) Node
SvgFeFuncB creates an SVG feFuncB element
func SvgFeFuncG ¶ added in v0.13.0
func SvgFeFuncG(args ...SvgFeFuncGArg) Node
SvgFeFuncG creates an SVG feFuncG element
func SvgFeFuncR ¶ added in v0.13.0
func SvgFeFuncR(args ...SvgFeFuncRArg) Node
SvgFeFuncR creates an SVG feFuncR element
func SvgFeGaussianBlur ¶ added in v0.13.0
func SvgFeGaussianBlur(args ...SvgFeGaussianBlurArg) Node
SvgFeGaussianBlur creates an SVG feGaussianBlur element
func SvgFeImage ¶ added in v0.13.0
func SvgFeImage(args ...SvgFeImageArg) Node
SvgFeImage creates an SVG feImage element
func SvgFeMerge ¶ added in v0.13.0
func SvgFeMerge(args ...SvgFeMergeArg) Node
SvgFeMerge creates an SVG feMerge element
func SvgFeMergeNode ¶ added in v0.13.0
func SvgFeMergeNode(args ...SvgFeMergeNodeArg) Node
SvgFeMergeNode creates an SVG feMergeNode element
func SvgFeMorphology ¶ added in v0.13.0
func SvgFeMorphology(args ...SvgFeMorphologyArg) Node
SvgFeMorphology creates an SVG feMorphology element
func SvgFeOffset ¶ added in v0.13.0
func SvgFeOffset(args ...SvgFeOffsetArg) Node
SvgFeOffset creates an SVG feOffset element
func SvgFePointLight ¶ added in v0.13.0
func SvgFePointLight(args ...SvgFePointLightArg) Node
SvgFePointLight creates an SVG fePointLight element
func SvgFeSpecularLighting ¶ added in v0.13.0
func SvgFeSpecularLighting(args ...SvgFeSpecularLightingArg) Node
SvgFeSpecularLighting creates an SVG feSpecularLighting element
func SvgFeSpotLight ¶ added in v0.13.0
func SvgFeSpotLight(args ...SvgFeSpotLightArg) Node
SvgFeSpotLight creates an SVG feSpotLight element
func SvgFeTile ¶ added in v0.13.0
func SvgFeTile(args ...SvgFeTileArg) Node
SvgFeTile creates an SVG feTile element
func SvgFeTurbulence ¶ added in v0.13.0
func SvgFeTurbulence(args ...SvgFeTurbulenceArg) Node
SvgFeTurbulence creates an SVG feTurbulence element
func SvgFilter ¶ added in v0.13.0
func SvgFilter(args ...SvgFilterArg) Node
SvgFilter creates an SVG filter element
func SvgForeignObject ¶ added in v0.13.0
func SvgForeignObject(args ...SvgForeignObjectArg) Node
SvgForeignObject creates an SVG foreignObject element
func SvgImage ¶ added in v0.13.0
func SvgImage(args ...SvgImageArg) Node
SvgImage creates an SVG image element
func SvgLine ¶ added in v0.13.0
func SvgLine(args ...SvgLineArg) Node
SvgLine creates an SVG line element (self-closing)
func SvgLinearGradient ¶ added in v0.13.0
func SvgLinearGradient(args ...SvgLinearGradientArg) Node
SvgLinearGradient creates an SVG linearGradient element
func SvgMarker ¶ added in v0.13.0
func SvgMarker(args ...SvgMarkerArg) Node
SvgMarker creates an SVG marker element
func SvgMask ¶ added in v0.13.0
func SvgMask(args ...SvgMaskArg) Node
SvgMask creates an SVG mask element
func SvgMetadata ¶ added in v0.13.0
func SvgMetadata(args ...SvgMetadataArg) Node
SvgMetadata creates an SVG metadata element
func SvgMpath ¶ added in v0.13.0
func SvgMpath(args ...SvgMpathArg) Node
SvgMpath creates an SVG mpath element
func SvgPath ¶ added in v0.13.0
func SvgPath(args ...SvgPathArg) Node
SvgPath creates an SVG path element (self-closing)
func SvgPattern ¶ added in v0.13.0
func SvgPattern(args ...SvgPatternArg) Node
SvgPattern creates an SVG pattern element
func SvgPolygon ¶ added in v0.13.0
func SvgPolygon(args ...SvgPolygonArg) Node
SvgPolygon creates an SVG polygon element (self-closing)
func SvgPolyline ¶ added in v0.13.0
func SvgPolyline(args ...SvgPolylineArg) Node
SvgPolyline creates an SVG polyline element (self-closing)
func SvgRadialGradient ¶ added in v0.13.0
func SvgRadialGradient(args ...SvgRadialGradientArg) Node
SvgRadialGradient creates an SVG radialGradient element
func SvgRect ¶ added in v0.13.0
func SvgRect(args ...SvgRectArg) Node
SvgRect creates an SVG rect element (self-closing)
func SvgStop ¶ added in v0.13.0
func SvgStop(args ...SvgStopArg) Node
SvgStop creates an SVG stop element (self-closing)
func SvgSwitch ¶ added in v0.13.0
func SvgSwitch(args ...SvgSwitchArg) Node
SvgSwitch creates an SVG switch element
func SvgSymbol ¶ added in v0.13.0
func SvgSymbol(args ...SvgSymbolArg) Node
SvgSymbol creates an SVG symbol element
func SvgTextPath ¶ added in v0.13.0
func SvgTextPath(args ...SvgTextPathArg) Node
SvgTextPath creates an SVG textPath element
func SvgTspan ¶ added in v0.13.0
func SvgTspan(args ...SvgTspanArg) Node
SvgTspan creates an SVG tspan element
func SvgView ¶ added in v0.13.0
func SvgView(args ...SvgViewArg) Node
SvgView creates an SVG view element
func Template ¶
func Template(args ...TemplateArg) Node
func Textarea ¶
func Textarea(args ...TextareaArg) Node
func (Node) WithAssets ¶
type NomoduleOpt ¶ added in v0.13.0
type NomoduleOpt struct{}
func ANomodule ¶ added in v0.13.0
func ANomodule() NomoduleOpt
type NoresizeOpt ¶ added in v0.13.0
type NoresizeOpt struct{}
func ANoresize ¶ added in v0.13.0
func ANoresize() NoresizeOpt
type NoshadeOpt ¶ added in v0.13.0
type NoshadeOpt struct{}
func ANoshade ¶ added in v0.13.0
func ANoshade() NoshadeOpt
type NovalidateOpt ¶
type NovalidateOpt struct{}
func ANovalidate ¶ added in v0.13.0
func ANovalidate() NovalidateOpt
type NumOctavesOpt ¶ added in v0.13.0
type NumOctavesOpt struct {
// contains filtered or unexported fields
}
func ANumOctaves ¶ added in v0.13.0
func ANumOctaves(v string) NumOctavesOpt
type ObjectArg ¶ added in v0.13.0
type ObjectArg interface {
// contains filtered or unexported methods
}
type ObjectAttrs ¶ added in v0.13.0
type ObjectAttrs struct {
Global GlobalAttrs
Align string
Archive string
Border string
Classid string
Codebase string
Codetype string
Data string
Declare bool
Form string
Height string
Hspace string
Name string
Standby string
Type string
Typemustmatch bool
Usemap string
Vspace string
Width string
}
func (*ObjectAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ObjectAttrs) WriteAttrs(sb *strings.Builder)
type ObjectOpt ¶ added in v0.13.0
type ObjectOpt struct {
// contains filtered or unexported fields
}
type OffsetOpt ¶ added in v0.13.0
type OffsetOpt struct {
// contains filtered or unexported fields
}
type OlAttrs ¶
type OlAttrs struct {
Global GlobalAttrs
Compact bool
Reversed bool
Start string
Type string
}
func (*OlAttrs) WriteAttrs ¶ added in v0.13.0
type OperatorOpt ¶ added in v0.13.0
type OperatorOpt struct {
// contains filtered or unexported fields
}
func AOperator ¶ added in v0.13.0
func AOperator(v string) OperatorOpt
type OptgroupArg ¶
type OptgroupArg interface {
// contains filtered or unexported methods
}
type OptgroupAttrs ¶
type OptgroupAttrs struct {
Global GlobalAttrs
Disabled bool
Label string
}
func (*OptgroupAttrs) WriteAttrs ¶ added in v0.13.0
func (a *OptgroupAttrs) WriteAttrs(sb *strings.Builder)
type OptimumOpt ¶ added in v0.13.0
type OptimumOpt struct {
// contains filtered or unexported fields
}
func AOptimum ¶ added in v0.13.0
func AOptimum(v string) OptimumOpt
type OptionAttrs ¶
type OptionAttrs struct {
Global GlobalAttrs
Disabled bool
Label string
Selected bool
Value string
}
func (*OptionAttrs) WriteAttrs ¶ added in v0.13.0
func (a *OptionAttrs) WriteAttrs(sb *strings.Builder)
type OrientOpt ¶ added in v0.13.0
type OrientOpt struct {
// contains filtered or unexported fields
}
type OutputArg ¶ added in v0.13.0
type OutputArg interface {
// contains filtered or unexported methods
}
type OutputAttrs ¶ added in v0.13.0
type OutputAttrs struct {
Global GlobalAttrs
For string
Form string
Name string
}
func (*OutputAttrs) WriteAttrs ¶ added in v0.13.0
func (a *OutputAttrs) WriteAttrs(sb *strings.Builder)
type PAttrs ¶
type PAttrs struct {
Global GlobalAttrs
Align string
}
func (*PAttrs) WriteAttrs ¶ added in v0.13.0
type ParamArg ¶ added in v0.13.0
type ParamArg interface {
// contains filtered or unexported methods
}
type ParamAttrs ¶ added in v0.13.0
type ParamAttrs struct {
Global GlobalAttrs
Name string
Type string
Value string
Valuetype string
}
func (*ParamAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ParamAttrs) WriteAttrs(sb *strings.Builder)
type PathLengthOpt ¶
type PathLengthOpt struct {
// contains filtered or unexported fields
}
func APathLength ¶ added in v0.13.0
func APathLength(v string) PathLengthOpt
type PatternContentUnitsOpt ¶ added in v0.13.0
type PatternContentUnitsOpt struct {
// contains filtered or unexported fields
}
func APatternContentUnits ¶ added in v0.13.0
func APatternContentUnits(v string) PatternContentUnitsOpt
type PatternOpt ¶
type PatternOpt struct {
// contains filtered or unexported fields
}
func APattern ¶ added in v0.13.0
func APattern(v string) PatternOpt
type PatternTransformOpt ¶ added in v0.13.0
type PatternTransformOpt struct {
// contains filtered or unexported fields
}
func APatternTransform ¶ added in v0.13.0
func APatternTransform(v string) PatternTransformOpt
type PatternUnitsOpt ¶ added in v0.13.0
type PatternUnitsOpt struct {
// contains filtered or unexported fields
}
func APatternUnits ¶ added in v0.13.0
func APatternUnits(v string) PatternUnitsOpt
type PlaceholderOpt ¶
type PlaceholderOpt struct {
// contains filtered or unexported fields
}
func APlaceholder ¶ added in v0.13.0
func APlaceholder(v string) PlaceholderOpt
type PlaysinlineOpt ¶ added in v0.13.0
type PlaysinlineOpt struct{}
func APlaysinline ¶ added in v0.13.0
func APlaysinline() PlaysinlineOpt
type PointsAtXOpt ¶ added in v0.13.0
type PointsAtXOpt struct {
// contains filtered or unexported fields
}
func APointsAtX ¶ added in v0.13.0
func APointsAtX(v string) PointsAtXOpt
type PointsAtYOpt ¶ added in v0.13.0
type PointsAtYOpt struct {
// contains filtered or unexported fields
}
func APointsAtY ¶ added in v0.13.0
func APointsAtY(v string) PointsAtYOpt
type PointsAtZOpt ¶ added in v0.13.0
type PointsAtZOpt struct {
// contains filtered or unexported fields
}
func APointsAtZ ¶ added in v0.13.0
func APointsAtZ(v string) PointsAtZOpt
type PopovertargetOpt ¶ added in v0.13.0
type PopovertargetOpt struct {
// contains filtered or unexported fields
}
func APopovertarget ¶ added in v0.13.0
func APopovertarget(v string) PopovertargetOpt
type PopovertargetactionOpt ¶ added in v0.13.0
type PopovertargetactionOpt struct {
// contains filtered or unexported fields
}
func APopovertargetaction ¶ added in v0.13.0
func APopovertargetaction(v string) PopovertargetactionOpt
type PreAttrs ¶
type PreAttrs struct {
Global GlobalAttrs
Width string
}
func (*PreAttrs) WriteAttrs ¶ added in v0.13.0
type PreloadOpt ¶
type PreloadOpt struct {
// contains filtered or unexported fields
}
func APreload ¶ added in v0.13.0
func APreload(v string) PreloadOpt
type PreserveAlphaOpt ¶ added in v0.13.0
type PreserveAlphaOpt struct{}
func APreserveAlpha ¶ added in v0.13.0
func APreserveAlpha() PreserveAlphaOpt
type PreserveAspectRatioOpt ¶
type PreserveAspectRatioOpt struct {
// contains filtered or unexported fields
}
func APreserveAspectRatio ¶ added in v0.13.0
func APreserveAspectRatio(v string) PreserveAspectRatioOpt
type PrimitiveUnitsOpt ¶ added in v0.13.0
type PrimitiveUnitsOpt struct {
// contains filtered or unexported fields
}
func APrimitiveUnits ¶ added in v0.13.0
func APrimitiveUnits(v string) PrimitiveUnitsOpt
type ProfileOpt ¶ added in v0.13.0
type ProfileOpt struct {
// contains filtered or unexported fields
}
func AProfile ¶ added in v0.13.0
func AProfile(v string) ProfileOpt
type ProgressArg ¶ added in v0.13.0
type ProgressArg interface {
// contains filtered or unexported methods
}
type ProgressAttrs ¶ added in v0.13.0
type ProgressAttrs struct {
Global GlobalAttrs
Max string
Value string
}
func (*ProgressAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ProgressAttrs) WriteAttrs(sb *strings.Builder)
type PromptOpt ¶ added in v0.13.0
type PromptOpt struct {
// contains filtered or unexported fields
}
type QAttrs ¶
type QAttrs struct {
Global GlobalAttrs
Cite string
}
func (*QAttrs) WriteAttrs ¶ added in v0.13.0
type RadiusOpt ¶ added in v0.13.0
type RadiusOpt struct {
// contains filtered or unexported fields
}
type ReadonlyOpt ¶
type ReadonlyOpt struct{}
func AReadonly ¶ added in v0.13.0
func AReadonly() ReadonlyOpt
type ReferrerpolicyOpt ¶
type ReferrerpolicyOpt struct {
// contains filtered or unexported fields
}
func AReferrerpolicy ¶ added in v0.13.0
func AReferrerpolicy(v string) ReferrerpolicyOpt
type RepeatCountOpt ¶ added in v0.13.0
type RepeatCountOpt struct {
// contains filtered or unexported fields
}
func ARepeatCount ¶ added in v0.13.0
func ARepeatCount(v string) RepeatCountOpt
type RepeatDurOpt ¶ added in v0.13.0
type RepeatDurOpt struct {
// contains filtered or unexported fields
}
func ARepeatDur ¶ added in v0.13.0
func ARepeatDur(v string) RepeatDurOpt
type RequiredExtensionsOpt ¶ added in v0.13.0
type RequiredExtensionsOpt struct {
// contains filtered or unexported fields
}
func ARequiredExtensions ¶ added in v0.13.0
func ARequiredExtensions(v string) RequiredExtensionsOpt
type RequiredFeaturesOpt ¶ added in v0.13.0
type RequiredFeaturesOpt struct {
// contains filtered or unexported fields
}
func ARequiredFeatures ¶ added in v0.13.0
func ARequiredFeatures(v string) RequiredFeaturesOpt
type RequiredOpt ¶
type RequiredOpt struct{}
func ARequired ¶ added in v0.13.0
func ARequired() RequiredOpt
type RestartOpt ¶ added in v0.13.0
type RestartOpt struct {
// contains filtered or unexported fields
}
func ARestart ¶ added in v0.13.0
func ARestart(v string) RestartOpt
type ReversedOpt ¶
type ReversedOpt struct{}
func AReversed ¶ added in v0.13.0
func AReversed() ReversedOpt
type RowspanOpt ¶
type RowspanOpt struct {
// contains filtered or unexported fields
}
func ARowspan ¶ added in v0.13.0
func ARowspan(v string) RowspanOpt
type SandboxOpt ¶
type SandboxOpt struct {
// contains filtered or unexported fields
}
func ASandbox ¶ added in v0.13.0
func ASandbox(v string) SandboxOpt
type ScriptAttrs ¶
type ScriptAttrs struct {
Global GlobalAttrs
Async bool
Blocking string
Charset string
Crossorigin string
Defer bool
Fetchpriority string
Integrity string
Language string
Nomodule bool
Referrerpolicy string
Src string
Type string
}
func (*ScriptAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ScriptAttrs) WriteAttrs(sb *strings.Builder)
type ScrollingOpt ¶ added in v0.13.0
type ScrollingOpt struct {
// contains filtered or unexported fields
}
func AScrolling ¶ added in v0.13.0
func AScrolling(v string) ScrollingOpt
type SelectAttrs ¶
type SelectAttrs struct {
Global GlobalAttrs
Autocomplete string
Disabled bool
Form string
Multiple bool
Name string
Required bool
Size string
}
func (*SelectAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SelectAttrs) WriteAttrs(sb *strings.Builder)
type SelectedOpt ¶
type SelectedOpt struct{}
func ASelected ¶ added in v0.13.0
func ASelected() SelectedOpt
type ShadowrootclonableOpt ¶ added in v0.13.0
type ShadowrootclonableOpt struct {
// contains filtered or unexported fields
}
func AShadowrootclonable ¶ added in v0.13.0
func AShadowrootclonable(v string) ShadowrootclonableOpt
type ShadowrootcustomelementregistryOpt ¶ added in v0.13.0
type ShadowrootcustomelementregistryOpt struct {
// contains filtered or unexported fields
}
func AShadowrootcustomelementregistry ¶ added in v0.13.0
func AShadowrootcustomelementregistry(v string) ShadowrootcustomelementregistryOpt
type ShadowrootdelegatesfocusOpt ¶ added in v0.13.0
type ShadowrootdelegatesfocusOpt struct {
// contains filtered or unexported fields
}
func AShadowrootdelegatesfocus ¶ added in v0.13.0
func AShadowrootdelegatesfocus(v string) ShadowrootdelegatesfocusOpt
type ShadowrootmodeOpt ¶ added in v0.13.0
type ShadowrootmodeOpt struct {
// contains filtered or unexported fields
}
func AShadowrootmode ¶ added in v0.13.0
func AShadowrootmode(v string) ShadowrootmodeOpt
type ShadowrootserializableOpt ¶ added in v0.13.0
type ShadowrootserializableOpt struct {
// contains filtered or unexported fields
}
func AShadowrootserializable ¶ added in v0.13.0
func AShadowrootserializable(v string) ShadowrootserializableOpt
type SlotArg ¶ added in v0.13.0
type SlotArg interface {
// contains filtered or unexported methods
}
type SlotAttrs ¶ added in v0.13.0
type SlotAttrs struct {
Global GlobalAttrs
Name string
}
func (*SlotAttrs) WriteAttrs ¶ added in v0.13.0
type SourceAttrs ¶
type SourceAttrs struct {
Global GlobalAttrs
Height string
Media string
Sizes string
Src string
Srcset string
Type string
Width string
}
func (*SourceAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SourceAttrs) WriteAttrs(sb *strings.Builder)
type SpacingOpt ¶ added in v0.13.0
type SpacingOpt struct {
// contains filtered or unexported fields
}
func ASpacing ¶ added in v0.13.0
func ASpacing(v string) SpacingOpt
type SpecularConstantOpt ¶ added in v0.13.0
type SpecularConstantOpt struct {
// contains filtered or unexported fields
}
func ASpecularConstant ¶ added in v0.13.0
func ASpecularConstant(v string) SpecularConstantOpt
type SpecularExponentOpt ¶ added in v0.13.0
type SpecularExponentOpt struct {
// contains filtered or unexported fields
}
func ASpecularExponent ¶ added in v0.13.0
func ASpecularExponent(v string) SpecularExponentOpt
type SpreadMethodOpt ¶ added in v0.13.0
type SpreadMethodOpt struct {
// contains filtered or unexported fields
}
func ASpreadMethod ¶ added in v0.13.0
func ASpreadMethod(v string) SpreadMethodOpt
type SrclangOpt ¶
type SrclangOpt struct {
// contains filtered or unexported fields
}
func ASrclang ¶ added in v0.13.0
func ASrclang(v string) SrclangOpt
type StandbyOpt ¶ added in v0.13.0
type StandbyOpt struct {
// contains filtered or unexported fields
}
func AStandby ¶ added in v0.13.0
func AStandby(v string) StandbyOpt
type StartOffsetOpt ¶ added in v0.13.0
type StartOffsetOpt struct {
// contains filtered or unexported fields
}
func AStartOffset ¶ added in v0.13.0
func AStartOffset(v string) StartOffsetOpt
type StdDeviationOpt ¶ added in v0.13.0
type StdDeviationOpt struct {
// contains filtered or unexported fields
}
func AStdDeviation ¶ added in v0.13.0
func AStdDeviation(v string) StdDeviationOpt
type StitchTilesOpt ¶ added in v0.13.0
type StitchTilesOpt struct {
// contains filtered or unexported fields
}
func AStitchTiles ¶ added in v0.13.0
func AStitchTiles(v string) StitchTilesOpt
type StopColorOpt ¶ added in v0.13.0
type StopColorOpt struct {
// contains filtered or unexported fields
}
func AStopColor ¶ added in v0.13.0
func AStopColor(v string) StopColorOpt
type StyleArg ¶ added in v0.13.0
type StyleArg interface {
// contains filtered or unexported methods
}
type StyleAttrs ¶ added in v0.13.0
type StyleAttrs struct {
Global GlobalAttrs
Blocking string
Media string
Type string
}
func (*StyleAttrs) WriteAttrs ¶ added in v0.13.0
func (a *StyleAttrs) WriteAttrs(sb *strings.Builder)
type SummaryOpt ¶ added in v0.13.0
type SummaryOpt struct {
// contains filtered or unexported fields
}
func ASummary ¶ added in v0.13.0
func ASummary(v string) SummaryOpt
type SurfaceScaleOpt ¶ added in v0.13.0
type SurfaceScaleOpt struct {
// contains filtered or unexported fields
}
func ASurfaceScale ¶ added in v0.13.0
func ASurfaceScale(v string) SurfaceScaleOpt
type SvgAnimateArg ¶ added in v0.13.0
type SvgAnimateArg interface {
// contains filtered or unexported methods
}
SvgAnimateArg interface for animate element arguments
type SvgAnimateAttrs ¶ added in v0.13.0
type SvgAnimateAttrs struct {
GlobalAttrs
Accumulate string
Additive string
AttributeName string
AttributeType string
Begin string
By string
CalcMode string
Dur string
End string
From string
KeySplines string
KeyTimes string
Max string
Min string
RepeatCount string
RepeatDur string
Restart string
To string
Values string
}
SvgAnimateAttrs holds the attributes for the animate SVG element
func (*SvgAnimateAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgAnimateAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgAnimateMotionArg ¶ added in v0.13.0
type SvgAnimateMotionArg interface {
// contains filtered or unexported methods
}
SvgAnimateMotionArg interface for animateMotion element arguments
type SvgAnimateMotionAttrs ¶ added in v0.13.0
type SvgAnimateMotionAttrs struct {
GlobalAttrs
Accumulate string
Additive string
Begin string
By string
CalcMode string
Dur string
End string
From string
KeySplines string
KeyTimes string
Max string
Min string
RepeatCount string
RepeatDur string
Restart string
To string
Values string
}
SvgAnimateMotionAttrs holds the attributes for the animateMotion SVG element
func (*SvgAnimateMotionAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgAnimateMotionAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgAnimateTransformArg ¶ added in v0.13.0
type SvgAnimateTransformArg interface {
// contains filtered or unexported methods
}
SvgAnimateTransformArg interface for animateTransform element arguments
type SvgAnimateTransformAttrs ¶ added in v0.13.0
type SvgAnimateTransformAttrs struct {
GlobalAttrs
Accumulate string
Additive string
AttributeName string
AttributeType string
Begin string
By string
CalcMode string
Dur string
End string
From string
KeySplines string
KeyTimes string
Max string
Min string
RepeatCount string
RepeatDur string
Restart string
To string
Type string
Values string
}
SvgAnimateTransformAttrs holds the attributes for the animateTransform SVG element
func (*SvgAnimateTransformAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgAnimateTransformAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgArg ¶
type SvgArg interface {
// contains filtered or unexported methods
}
SvgArg interface for svg element arguments
type SvgAttrs ¶
type SvgAttrs struct {
GlobalAttrs
Height string
PreserveAspectRatio string
ViewBox string
Width string
X string
Y string
}
SvgAttrs holds the attributes for the svg SVG element
func (*SvgAttrs) WriteAttrs ¶ added in v0.13.0
WriteAttrs writes the SVG attributes to the string builder
type SvgCircleArg ¶ added in v0.13.0
type SvgCircleArg interface {
// contains filtered or unexported methods
}
SvgCircleArg interface for circle element arguments
type SvgCircleAttrs ¶ added in v0.13.0
type SvgCircleAttrs struct {
GlobalAttrs
Cx string
Cy string
R string
}
SvgCircleAttrs holds the attributes for the circle SVG element
func (*SvgCircleAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgCircleAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgClipPathArg ¶ added in v0.13.0
type SvgClipPathArg interface {
// contains filtered or unexported methods
}
SvgClipPathArg interface for clipPath element arguments
type SvgClipPathAttrs ¶ added in v0.13.0
type SvgClipPathAttrs struct {
GlobalAttrs
ClipPathUnits string
}
SvgClipPathAttrs holds the attributes for the clipPath SVG element
func (*SvgClipPathAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgClipPathAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgDefsArg ¶ added in v0.13.0
type SvgDefsArg interface {
// contains filtered or unexported methods
}
SvgDefsArg interface for defs element arguments
type SvgDefsAttrs ¶ added in v0.13.0
type SvgDefsAttrs struct {
GlobalAttrs
}
SvgDefsAttrs holds the attributes for the defs SVG element
func (*SvgDefsAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgDefsAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgDescArg ¶ added in v0.13.0
type SvgDescArg interface {
// contains filtered or unexported methods
}
SvgDescArg interface for desc element arguments
type SvgDescAttrs ¶ added in v0.13.0
type SvgDescAttrs struct {
GlobalAttrs
}
SvgDescAttrs holds the attributes for the desc SVG element
func (*SvgDescAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgDescAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgEllipseArg ¶ added in v0.13.0
type SvgEllipseArg interface {
// contains filtered or unexported methods
}
SvgEllipseArg interface for ellipse element arguments
type SvgEllipseAttrs ¶ added in v0.13.0
type SvgEllipseAttrs struct {
GlobalAttrs
Cx string
Cy string
Rx string
Ry string
}
SvgEllipseAttrs holds the attributes for the ellipse SVG element
func (*SvgEllipseAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgEllipseAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeBlendArg ¶ added in v0.13.0
type SvgFeBlendArg interface {
// contains filtered or unexported methods
}
SvgFeBlendArg interface for feBlend element arguments
type SvgFeBlendAttrs ¶ added in v0.13.0
type SvgFeBlendAttrs struct {
GlobalAttrs
In string
In2 string
Mode string
}
SvgFeBlendAttrs holds the attributes for the feBlend SVG element
func (*SvgFeBlendAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeBlendAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeColorMatrixArg ¶ added in v0.13.0
type SvgFeColorMatrixArg interface {
// contains filtered or unexported methods
}
SvgFeColorMatrixArg interface for feColorMatrix element arguments
type SvgFeColorMatrixAttrs ¶ added in v0.13.0
type SvgFeColorMatrixAttrs struct {
GlobalAttrs
In string
Type string
Values string
}
SvgFeColorMatrixAttrs holds the attributes for the feColorMatrix SVG element
func (*SvgFeColorMatrixAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeColorMatrixAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeComponentTransferArg ¶ added in v0.13.0
type SvgFeComponentTransferArg interface {
// contains filtered or unexported methods
}
SvgFeComponentTransferArg interface for feComponentTransfer element arguments
type SvgFeComponentTransferAttrs ¶ added in v0.13.0
type SvgFeComponentTransferAttrs struct {
GlobalAttrs
In string
}
SvgFeComponentTransferAttrs holds the attributes for the feComponentTransfer SVG element
func (*SvgFeComponentTransferAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeComponentTransferAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeCompositeArg ¶ added in v0.13.0
type SvgFeCompositeArg interface {
// contains filtered or unexported methods
}
SvgFeCompositeArg interface for feComposite element arguments
type SvgFeCompositeAttrs ¶ added in v0.13.0
type SvgFeCompositeAttrs struct {
GlobalAttrs
In string
In2 string
K1 string
K2 string
K3 string
K4 string
Operator string
}
SvgFeCompositeAttrs holds the attributes for the feComposite SVG element
func (*SvgFeCompositeAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeCompositeAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeConvolveMatrixArg ¶ added in v0.13.0
type SvgFeConvolveMatrixArg interface {
// contains filtered or unexported methods
}
SvgFeConvolveMatrixArg interface for feConvolveMatrix element arguments
type SvgFeConvolveMatrixAttrs ¶ added in v0.13.0
type SvgFeConvolveMatrixAttrs struct {
GlobalAttrs
Bias string
Divisor string
EdgeMode string
In string
KernelMatrix string
KernelUnitLength string
Order string
PreserveAlpha bool
TargetX string
TargetY string
}
SvgFeConvolveMatrixAttrs holds the attributes for the feConvolveMatrix SVG element
func (*SvgFeConvolveMatrixAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeConvolveMatrixAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeDiffuseLightingArg ¶ added in v0.13.0
type SvgFeDiffuseLightingArg interface {
// contains filtered or unexported methods
}
SvgFeDiffuseLightingArg interface for feDiffuseLighting element arguments
type SvgFeDiffuseLightingAttrs ¶ added in v0.13.0
type SvgFeDiffuseLightingAttrs struct {
GlobalAttrs
DiffuseConstant string
In string
KernelUnitLength string
SurfaceScale string
}
SvgFeDiffuseLightingAttrs holds the attributes for the feDiffuseLighting SVG element
func (*SvgFeDiffuseLightingAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeDiffuseLightingAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeDisplacementMapArg ¶ added in v0.13.0
type SvgFeDisplacementMapArg interface {
// contains filtered or unexported methods
}
SvgFeDisplacementMapArg interface for feDisplacementMap element arguments
type SvgFeDisplacementMapAttrs ¶ added in v0.13.0
type SvgFeDisplacementMapAttrs struct {
GlobalAttrs
In string
In2 string
Scale string
XChannelSelector string
YChannelSelector string
}
SvgFeDisplacementMapAttrs holds the attributes for the feDisplacementMap SVG element
func (*SvgFeDisplacementMapAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeDisplacementMapAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeDistantLightArg ¶ added in v0.13.0
type SvgFeDistantLightArg interface {
// contains filtered or unexported methods
}
SvgFeDistantLightArg interface for feDistantLight element arguments
type SvgFeDistantLightAttrs ¶ added in v0.13.0
type SvgFeDistantLightAttrs struct {
GlobalAttrs
Azimuth string
Elevation string
}
SvgFeDistantLightAttrs holds the attributes for the feDistantLight SVG element
func (*SvgFeDistantLightAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeDistantLightAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeDropShadowArg ¶ added in v0.13.0
type SvgFeDropShadowArg interface {
// contains filtered or unexported methods
}
SvgFeDropShadowArg interface for feDropShadow element arguments
type SvgFeDropShadowAttrs ¶ added in v0.13.0
type SvgFeDropShadowAttrs struct {
GlobalAttrs
Dx string
Dy string
FloodColor string
FloodOpacity string
StdDeviation string
}
SvgFeDropShadowAttrs holds the attributes for the feDropShadow SVG element
func (*SvgFeDropShadowAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeDropShadowAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeFloodArg ¶ added in v0.13.0
type SvgFeFloodArg interface {
// contains filtered or unexported methods
}
SvgFeFloodArg interface for feFlood element arguments
type SvgFeFloodAttrs ¶ added in v0.13.0
type SvgFeFloodAttrs struct {
GlobalAttrs
FloodColor string
FloodOpacity string
}
SvgFeFloodAttrs holds the attributes for the feFlood SVG element
func (*SvgFeFloodAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeFloodAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeFuncAArg ¶ added in v0.13.0
type SvgFeFuncAArg interface {
// contains filtered or unexported methods
}
SvgFeFuncAArg interface for feFuncA element arguments
type SvgFeFuncAAttrs ¶ added in v0.13.0
type SvgFeFuncAAttrs struct {
GlobalAttrs
Amplitude string
Exponent string
Intercept string
Offset string
Slope string
TableValues string
Type string
}
SvgFeFuncAAttrs holds the attributes for the feFuncA SVG element
func (*SvgFeFuncAAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeFuncAAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeFuncBArg ¶ added in v0.13.0
type SvgFeFuncBArg interface {
// contains filtered or unexported methods
}
SvgFeFuncBArg interface for feFuncB element arguments
type SvgFeFuncBAttrs ¶ added in v0.13.0
type SvgFeFuncBAttrs struct {
GlobalAttrs
Amplitude string
Exponent string
Intercept string
Offset string
Slope string
TableValues string
Type string
}
SvgFeFuncBAttrs holds the attributes for the feFuncB SVG element
func (*SvgFeFuncBAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeFuncBAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeFuncGArg ¶ added in v0.13.0
type SvgFeFuncGArg interface {
// contains filtered or unexported methods
}
SvgFeFuncGArg interface for feFuncG element arguments
type SvgFeFuncGAttrs ¶ added in v0.13.0
type SvgFeFuncGAttrs struct {
GlobalAttrs
Amplitude string
Exponent string
Intercept string
Offset string
Slope string
TableValues string
Type string
}
SvgFeFuncGAttrs holds the attributes for the feFuncG SVG element
func (*SvgFeFuncGAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeFuncGAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeFuncRArg ¶ added in v0.13.0
type SvgFeFuncRArg interface {
// contains filtered or unexported methods
}
SvgFeFuncRArg interface for feFuncR element arguments
type SvgFeFuncRAttrs ¶ added in v0.13.0
type SvgFeFuncRAttrs struct {
GlobalAttrs
Amplitude string
Exponent string
Intercept string
Offset string
Slope string
TableValues string
Type string
}
SvgFeFuncRAttrs holds the attributes for the feFuncR SVG element
func (*SvgFeFuncRAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeFuncRAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeGaussianBlurArg ¶ added in v0.13.0
type SvgFeGaussianBlurArg interface {
// contains filtered or unexported methods
}
SvgFeGaussianBlurArg interface for feGaussianBlur element arguments
type SvgFeGaussianBlurAttrs ¶ added in v0.13.0
type SvgFeGaussianBlurAttrs struct {
GlobalAttrs
In string
StdDeviation string
}
SvgFeGaussianBlurAttrs holds the attributes for the feGaussianBlur SVG element
func (*SvgFeGaussianBlurAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeGaussianBlurAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeImageArg ¶ added in v0.13.0
type SvgFeImageArg interface {
// contains filtered or unexported methods
}
SvgFeImageArg interface for feImage element arguments
type SvgFeImageAttrs ¶ added in v0.13.0
type SvgFeImageAttrs struct {
GlobalAttrs
ExternalResourcesRequired bool
Href string
PreserveAspectRatio string
}
SvgFeImageAttrs holds the attributes for the feImage SVG element
func (*SvgFeImageAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeImageAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeMergeArg ¶ added in v0.13.0
type SvgFeMergeArg interface {
// contains filtered or unexported methods
}
SvgFeMergeArg interface for feMerge element arguments
type SvgFeMergeAttrs ¶ added in v0.13.0
type SvgFeMergeAttrs struct {
GlobalAttrs
}
SvgFeMergeAttrs holds the attributes for the feMerge SVG element
func (*SvgFeMergeAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeMergeAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeMergeNodeArg ¶ added in v0.13.0
type SvgFeMergeNodeArg interface {
// contains filtered or unexported methods
}
SvgFeMergeNodeArg interface for feMergeNode element arguments
type SvgFeMergeNodeAttrs ¶ added in v0.13.0
type SvgFeMergeNodeAttrs struct {
GlobalAttrs
In string
}
SvgFeMergeNodeAttrs holds the attributes for the feMergeNode SVG element
func (*SvgFeMergeNodeAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeMergeNodeAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeMorphologyArg ¶ added in v0.13.0
type SvgFeMorphologyArg interface {
// contains filtered or unexported methods
}
SvgFeMorphologyArg interface for feMorphology element arguments
type SvgFeMorphologyAttrs ¶ added in v0.13.0
type SvgFeMorphologyAttrs struct {
GlobalAttrs
In string
Operator string
Radius string
}
SvgFeMorphologyAttrs holds the attributes for the feMorphology SVG element
func (*SvgFeMorphologyAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeMorphologyAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeOffsetArg ¶ added in v0.13.0
type SvgFeOffsetArg interface {
// contains filtered or unexported methods
}
SvgFeOffsetArg interface for feOffset element arguments
type SvgFeOffsetAttrs ¶ added in v0.13.0
type SvgFeOffsetAttrs struct {
GlobalAttrs
Dx string
Dy string
}
SvgFeOffsetAttrs holds the attributes for the feOffset SVG element
func (*SvgFeOffsetAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeOffsetAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFePointLightArg ¶ added in v0.13.0
type SvgFePointLightArg interface {
// contains filtered or unexported methods
}
SvgFePointLightArg interface for fePointLight element arguments
type SvgFePointLightAttrs ¶ added in v0.13.0
type SvgFePointLightAttrs struct {
GlobalAttrs
X string
Y string
Z string
}
SvgFePointLightAttrs holds the attributes for the fePointLight SVG element
func (*SvgFePointLightAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFePointLightAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeSpecularLightingArg ¶ added in v0.13.0
type SvgFeSpecularLightingArg interface {
// contains filtered or unexported methods
}
SvgFeSpecularLightingArg interface for feSpecularLighting element arguments
type SvgFeSpecularLightingAttrs ¶ added in v0.13.0
type SvgFeSpecularLightingAttrs struct {
GlobalAttrs
In string
KernelUnitLength string
SpecularConstant string
SpecularExponent string
SurfaceScale string
}
SvgFeSpecularLightingAttrs holds the attributes for the feSpecularLighting SVG element
func (*SvgFeSpecularLightingAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeSpecularLightingAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeSpotLightArg ¶ added in v0.13.0
type SvgFeSpotLightArg interface {
// contains filtered or unexported methods
}
SvgFeSpotLightArg interface for feSpotLight element arguments
type SvgFeSpotLightAttrs ¶ added in v0.13.0
type SvgFeSpotLightAttrs struct {
GlobalAttrs
LimitingConeAngle string
PointsAtX string
PointsAtY string
PointsAtZ string
SpecularExponent string
X string
Y string
Z string
}
SvgFeSpotLightAttrs holds the attributes for the feSpotLight SVG element
func (*SvgFeSpotLightAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeSpotLightAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeTileArg ¶ added in v0.13.0
type SvgFeTileArg interface {
// contains filtered or unexported methods
}
SvgFeTileArg interface for feTile element arguments
type SvgFeTileAttrs ¶ added in v0.13.0
type SvgFeTileAttrs struct {
GlobalAttrs
In string
}
SvgFeTileAttrs holds the attributes for the feTile SVG element
func (*SvgFeTileAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeTileAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFeTurbulenceArg ¶ added in v0.13.0
type SvgFeTurbulenceArg interface {
// contains filtered or unexported methods
}
SvgFeTurbulenceArg interface for feTurbulence element arguments
type SvgFeTurbulenceAttrs ¶ added in v0.13.0
type SvgFeTurbulenceAttrs struct {
GlobalAttrs
BaseFrequency string
NumOctaves string
Seed string
StitchTiles string
Type string
}
SvgFeTurbulenceAttrs holds the attributes for the feTurbulence SVG element
func (*SvgFeTurbulenceAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFeTurbulenceAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFilterArg ¶ added in v0.13.0
type SvgFilterArg interface {
// contains filtered or unexported methods
}
SvgFilterArg interface for filter element arguments
type SvgFilterAttrs ¶ added in v0.13.0
type SvgFilterAttrs struct {
GlobalAttrs
FilterUnits string
Height string
PrimitiveUnits string
Width string
X string
Y string
}
SvgFilterAttrs holds the attributes for the filter SVG element
func (*SvgFilterAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgFilterAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgForeignObjectArg ¶ added in v0.13.0
type SvgForeignObjectArg interface {
// contains filtered or unexported methods
}
SvgForeignObjectArg interface for foreignObject element arguments
type SvgForeignObjectAttrs ¶ added in v0.13.0
type SvgForeignObjectAttrs struct {
GlobalAttrs
Height string
RequiredExtensions string
RequiredFeatures string
SystemLanguage string
Width string
X string
Y string
}
SvgForeignObjectAttrs holds the attributes for the foreignObject SVG element
func (*SvgForeignObjectAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgForeignObjectAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgGArg ¶ added in v0.13.0
type SvgGArg interface {
// contains filtered or unexported methods
}
SvgGArg interface for g element arguments
type SvgGAttrs ¶ added in v0.13.0
type SvgGAttrs struct {
GlobalAttrs
RequiredExtensions string
RequiredFeatures string
SystemLanguage string
}
SvgGAttrs holds the attributes for the g SVG element
func (*SvgGAttrs) WriteAttrs ¶ added in v0.13.0
WriteAttrs writes the SVG attributes to the string builder
type SvgImageArg ¶ added in v0.13.0
type SvgImageArg interface {
// contains filtered or unexported methods
}
SvgImageArg interface for image element arguments
type SvgImageAttrs ¶ added in v0.13.0
type SvgImageAttrs struct {
GlobalAttrs
Height string
Href string
PreserveAspectRatio string
Width string
X string
Y string
}
SvgImageAttrs holds the attributes for the image SVG element
func (*SvgImageAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgImageAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgLineArg ¶ added in v0.13.0
type SvgLineArg interface {
// contains filtered or unexported methods
}
SvgLineArg interface for line element arguments
type SvgLineAttrs ¶ added in v0.13.0
type SvgLineAttrs struct {
GlobalAttrs
X1 string
X2 string
Y1 string
Y2 string
}
SvgLineAttrs holds the attributes for the line SVG element
func (*SvgLineAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgLineAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgLinearGradientArg ¶ added in v0.13.0
type SvgLinearGradientArg interface {
// contains filtered or unexported methods
}
SvgLinearGradientArg interface for linearGradient element arguments
type SvgLinearGradientAttrs ¶ added in v0.13.0
type SvgLinearGradientAttrs struct {
GlobalAttrs
GradientTransform string
GradientUnits string
SpreadMethod string
X1 string
X2 string
Y1 string
Y2 string
}
SvgLinearGradientAttrs holds the attributes for the linearGradient SVG element
func (*SvgLinearGradientAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgLinearGradientAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgMarkerArg ¶ added in v0.13.0
type SvgMarkerArg interface {
// contains filtered or unexported methods
}
SvgMarkerArg interface for marker element arguments
type SvgMarkerAttrs ¶ added in v0.13.0
type SvgMarkerAttrs struct {
GlobalAttrs
MarkerHeight string
MarkerUnits string
MarkerWidth string
Orient string
RefX string
RefY string
ViewBox string
}
SvgMarkerAttrs holds the attributes for the marker SVG element
func (*SvgMarkerAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgMarkerAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgMaskArg ¶ added in v0.13.0
type SvgMaskArg interface {
// contains filtered or unexported methods
}
SvgMaskArg interface for mask element arguments
type SvgMaskAttrs ¶ added in v0.13.0
type SvgMaskAttrs struct {
GlobalAttrs
Height string
MaskContentUnits string
MaskUnits string
Width string
X string
Y string
}
SvgMaskAttrs holds the attributes for the mask SVG element
func (*SvgMaskAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgMaskAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgMetadataArg ¶ added in v0.13.0
type SvgMetadataArg interface {
// contains filtered or unexported methods
}
SvgMetadataArg interface for metadata element arguments
type SvgMetadataAttrs ¶ added in v0.13.0
type SvgMetadataAttrs struct {
GlobalAttrs
RequiredExtensions string
RequiredFeatures string
SystemLanguage string
}
SvgMetadataAttrs holds the attributes for the metadata SVG element
func (*SvgMetadataAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgMetadataAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgMpathArg ¶ added in v0.13.0
type SvgMpathArg interface {
// contains filtered or unexported methods
}
SvgMpathArg interface for mpath element arguments
type SvgMpathAttrs ¶ added in v0.13.0
type SvgMpathAttrs struct {
GlobalAttrs
Href string
}
SvgMpathAttrs holds the attributes for the mpath SVG element
func (*SvgMpathAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgMpathAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgPathArg ¶ added in v0.13.0
type SvgPathArg interface {
// contains filtered or unexported methods
}
SvgPathArg interface for path element arguments
type SvgPathAttrs ¶ added in v0.13.0
type SvgPathAttrs struct {
GlobalAttrs
D string
FillOpacity string
PathLength string
}
SvgPathAttrs holds the attributes for the path SVG element
func (*SvgPathAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgPathAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgPatternArg ¶ added in v0.13.0
type SvgPatternArg interface {
// contains filtered or unexported methods
}
SvgPatternArg interface for pattern element arguments
type SvgPatternAttrs ¶ added in v0.13.0
type SvgPatternAttrs struct {
GlobalAttrs
Height string
Href string
PatternContentUnits string
PatternTransform string
PatternUnits string
Width string
X string
Y string
}
SvgPatternAttrs holds the attributes for the pattern SVG element
func (*SvgPatternAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgPatternAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgPolygonArg ¶ added in v0.13.0
type SvgPolygonArg interface {
// contains filtered or unexported methods
}
SvgPolygonArg interface for polygon element arguments
type SvgPolygonAttrs ¶ added in v0.13.0
type SvgPolygonAttrs struct {
GlobalAttrs
Points string
}
SvgPolygonAttrs holds the attributes for the polygon SVG element
func (*SvgPolygonAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgPolygonAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgPolylineArg ¶ added in v0.13.0
type SvgPolylineArg interface {
// contains filtered or unexported methods
}
SvgPolylineArg interface for polyline element arguments
type SvgPolylineAttrs ¶ added in v0.13.0
type SvgPolylineAttrs struct {
GlobalAttrs
Points string
}
SvgPolylineAttrs holds the attributes for the polyline SVG element
func (*SvgPolylineAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgPolylineAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgRadialGradientArg ¶ added in v0.13.0
type SvgRadialGradientArg interface {
// contains filtered or unexported methods
}
SvgRadialGradientArg interface for radialGradient element arguments
type SvgRadialGradientAttrs ¶ added in v0.13.0
type SvgRadialGradientAttrs struct {
GlobalAttrs
Cx string
Cy string
Fx string
Fy string
GradientTransform string
GradientUnits string
R string
}
SvgRadialGradientAttrs holds the attributes for the radialGradient SVG element
func (*SvgRadialGradientAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgRadialGradientAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgRectArg ¶ added in v0.13.0
type SvgRectArg interface {
// contains filtered or unexported methods
}
SvgRectArg interface for rect element arguments
type SvgRectAttrs ¶ added in v0.13.0
type SvgRectAttrs struct {
GlobalAttrs
Height string
Rx string
Ry string
Width string
X string
Y string
}
SvgRectAttrs holds the attributes for the rect SVG element
func (*SvgRectAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgRectAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgSetArg ¶ added in v0.13.0
type SvgSetArg interface {
// contains filtered or unexported methods
}
SvgSetArg interface for set element arguments
type SvgSetAttrs ¶ added in v0.13.0
type SvgSetAttrs struct {
GlobalAttrs
AttributeName string
AttributeType string
Begin string
Dur string
End string
Max string
Min string
RepeatCount string
RepeatDur string
Restart string
To string
}
SvgSetAttrs holds the attributes for the set SVG element
func (*SvgSetAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgSetAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgStopArg ¶ added in v0.13.0
type SvgStopArg interface {
// contains filtered or unexported methods
}
SvgStopArg interface for stop element arguments
type SvgStopAttrs ¶ added in v0.13.0
type SvgStopAttrs struct {
GlobalAttrs
Offset string
StopColor string
}
SvgStopAttrs holds the attributes for the stop SVG element
func (*SvgStopAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgStopAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgSwitchArg ¶ added in v0.13.0
type SvgSwitchArg interface {
// contains filtered or unexported methods
}
SvgSwitchArg interface for switch element arguments
type SvgSwitchAttrs ¶ added in v0.13.0
type SvgSwitchAttrs struct {
GlobalAttrs
RequiredExtensions string
RequiredFeatures string
SystemLanguage string
}
SvgSwitchAttrs holds the attributes for the switch SVG element
func (*SvgSwitchAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgSwitchAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgSymbolArg ¶ added in v0.13.0
type SvgSymbolArg interface {
// contains filtered or unexported methods
}
SvgSymbolArg interface for symbol element arguments
type SvgSymbolAttrs ¶ added in v0.13.0
type SvgSymbolAttrs struct {
GlobalAttrs
PreserveAspectRatio string
}
SvgSymbolAttrs holds the attributes for the symbol SVG element
func (*SvgSymbolAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgSymbolAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgTextArg ¶
type SvgTextArg interface {
// contains filtered or unexported methods
}
SvgTextArg interface for text element arguments
type SvgTextAttrs ¶
type SvgTextAttrs struct {
GlobalAttrs
Dx string
Dy string
LengthAdjust string
Rotate string
TextLength string
X string
Y string
}
SvgTextAttrs holds the attributes for the text SVG element
func (*SvgTextAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgTextAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgTextPathArg ¶ added in v0.13.0
type SvgTextPathArg interface {
// contains filtered or unexported methods
}
SvgTextPathArg interface for textPath element arguments
type SvgTextPathAttrs ¶ added in v0.13.0
type SvgTextPathAttrs struct {
GlobalAttrs
Href string
Method string
Spacing string
StartOffset string
}
SvgTextPathAttrs holds the attributes for the textPath SVG element
func (*SvgTextPathAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgTextPathAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgTspanArg ¶ added in v0.13.0
type SvgTspanArg interface {
// contains filtered or unexported methods
}
SvgTspanArg interface for tspan element arguments
type SvgTspanAttrs ¶ added in v0.13.0
SvgTspanAttrs holds the attributes for the tspan SVG element
func (*SvgTspanAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgTspanAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgUseArg ¶ added in v0.13.0
type SvgUseArg interface {
// contains filtered or unexported methods
}
SvgUseArg interface for use element arguments
type SvgUseAttrs ¶ added in v0.13.0
SvgUseAttrs holds the attributes for the use SVG element
func (*SvgUseAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgUseAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgViewArg ¶ added in v0.13.0
type SvgViewArg interface {
// contains filtered or unexported methods
}
SvgViewArg interface for view element arguments
type SvgViewAttrs ¶ added in v0.13.0
type SvgViewAttrs struct {
GlobalAttrs
ViewBox string
}
SvgViewAttrs holds the attributes for the view SVG element
func (*SvgViewAttrs) WriteAttrs ¶ added in v0.13.0
func (a *SvgViewAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SystemLanguageOpt ¶ added in v0.13.0
type SystemLanguageOpt struct {
// contains filtered or unexported fields
}
func ASystemLanguage ¶ added in v0.13.0
func ASystemLanguage(v string) SystemLanguageOpt
type TableAttrs ¶
type TableAttrs struct {
Global GlobalAttrs
Align string
Bgcolor string
Border string
Cellpadding string
Cellspacing string
Frame string
Rules string
Summary string
Width string
}
func (*TableAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TableAttrs) WriteAttrs(sb *strings.Builder)
type TableValuesOpt ¶ added in v0.13.0
type TableValuesOpt struct {
// contains filtered or unexported fields
}
func ATableValues ¶ added in v0.13.0
func ATableValues(v string) TableValuesOpt
type TargetXOpt ¶ added in v0.13.0
type TargetXOpt struct {
// contains filtered or unexported fields
}
func ATargetX ¶ added in v0.13.0
func ATargetX(v string) TargetXOpt
type TargetYOpt ¶ added in v0.13.0
type TargetYOpt struct {
// contains filtered or unexported fields
}
func ATargetY ¶ added in v0.13.0
func ATargetY(v string) TargetYOpt
type TbodyAttrs ¶
type TbodyAttrs struct {
Global GlobalAttrs
Align string
Char string
Charoff string
Valign string
}
func (*TbodyAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TbodyAttrs) WriteAttrs(sb *strings.Builder)
type TdAttrs ¶
type TdAttrs struct {
Global GlobalAttrs
Abbr string
Align string
Axis string
Bgcolor string
Char string
Charoff string
Colspan string
Headers string
Height string
Nowrap bool
Rowspan string
Scope string
Valign string
Width string
}
func (*TdAttrs) WriteAttrs ¶ added in v0.13.0
type TemplateArg ¶
type TemplateArg interface {
// contains filtered or unexported methods
}
type TemplateAttrs ¶
type TemplateAttrs struct {
Global GlobalAttrs
Shadowrootclonable string
Shadowrootcustomelementregistry string
Shadowrootdelegatesfocus string
Shadowrootmode string
Shadowrootserializable string
}
func (*TemplateAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TemplateAttrs) WriteAttrs(sb *strings.Builder)
type TextLengthOpt ¶
type TextLengthOpt struct {
// contains filtered or unexported fields
}
func ATextLength ¶ added in v0.13.0
func ATextLength(v string) TextLengthOpt
type TextareaArg ¶
type TextareaArg interface {
// contains filtered or unexported methods
}
type TextareaAttrs ¶
type TextareaAttrs struct {
Global GlobalAttrs
Autocomplete string
Cols string
Dirname string
Disabled bool
Form string
Maxlength string
Minlength string
Name string
Placeholder string
Readonly bool
Required bool
Rows string
Wrap string
}
func (*TextareaAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TextareaAttrs) WriteAttrs(sb *strings.Builder)
type TfootAttrs ¶
type TfootAttrs struct {
Global GlobalAttrs
Align string
Char string
Charoff string
Valign string
}
func (*TfootAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TfootAttrs) WriteAttrs(sb *strings.Builder)
type ThAttrs ¶
type ThAttrs struct {
Global GlobalAttrs
Abbr string
Align string
Axis string
Bgcolor string
Char string
Charoff string
Colspan string
Headers string
Height string
Nowrap bool
Rowspan string
Scope string
Valign string
Width string
}
func (*ThAttrs) WriteAttrs ¶ added in v0.13.0
type TheadAttrs ¶
type TheadAttrs struct {
Global GlobalAttrs
Align string
Char string
Charoff string
Valign string
}
func (*TheadAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TheadAttrs) WriteAttrs(sb *strings.Builder)
type TimeAttrs ¶
type TimeAttrs struct {
Global GlobalAttrs
Datetime string
}
func (*TimeAttrs) WriteAttrs ¶ added in v0.13.0
type TrAttrs ¶
type TrAttrs struct {
Global GlobalAttrs
Align string
Bgcolor string
Char string
Charoff string
Valign string
}
func (*TrAttrs) WriteAttrs ¶ added in v0.13.0
type TrackAttrs ¶
type TrackAttrs struct {
Global GlobalAttrs
Default bool
Kind string
Label string
Src string
Srclang string
}
func (*TrackAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TrackAttrs) WriteAttrs(sb *strings.Builder)
type TypemustmatchOpt ¶ added in v0.13.0
type TypemustmatchOpt struct{}
func ATypemustmatch ¶ added in v0.13.0
func ATypemustmatch() TypemustmatchOpt
type UlAttrs ¶
type UlAttrs struct {
Global GlobalAttrs
Compact bool
Type string
}
func (*UlAttrs) WriteAttrs ¶ added in v0.13.0
type UnsafeTextNode ¶
type UnsafeTextNode string
type UnsafeTxtOpt ¶
type UnsafeTxtOpt struct {
// contains filtered or unexported fields
}
func UnsafeText ¶
func UnsafeText(s string) UnsafeTxtOpt
func (UnsafeTxtOpt) String ¶ added in v0.13.0
func (t UnsafeTxtOpt) String() string
String returns the unsafe text content
type UsemapOpt ¶ added in v0.13.0
type UsemapOpt struct {
// contains filtered or unexported fields
}
type ValignOpt ¶ added in v0.13.0
type ValignOpt struct {
// contains filtered or unexported fields
}
type ValuesOpt ¶ added in v0.13.0
type ValuesOpt struct {
// contains filtered or unexported fields
}
type ValuetypeOpt ¶ added in v0.13.0
type ValuetypeOpt struct {
// contains filtered or unexported fields
}
func AValuetype ¶ added in v0.13.0
func AValuetype(v string) ValuetypeOpt
type VersionOpt ¶
type VersionOpt struct {
// contains filtered or unexported fields
}
func AVersion ¶ added in v0.13.0
func AVersion(v string) VersionOpt
type VideoAttrs ¶
type VideoAttrs struct {
Global GlobalAttrs
Autoplay bool
Controls bool
Crossorigin string
Height string
Loop bool
Muted bool
Playsinline bool
Poster string
Preload string
Src string
Width string
}
func (*VideoAttrs) WriteAttrs ¶ added in v0.13.0
func (a *VideoAttrs) WriteAttrs(sb *strings.Builder)
type ViewBoxOpt ¶
type ViewBoxOpt struct {
// contains filtered or unexported fields
}
func AViewBox ¶ added in v0.13.0
func AViewBox(v string) ViewBoxOpt
type VspaceOpt ¶ added in v0.13.0
type VspaceOpt struct {
// contains filtered or unexported fields
}
type XChannelSelectorOpt ¶ added in v0.13.0
type XChannelSelectorOpt struct {
// contains filtered or unexported fields
}
func AXChannelSelector ¶ added in v0.13.0
func AXChannelSelector(v string) XChannelSelectorOpt
type YChannelSelectorOpt ¶ added in v0.13.0
type YChannelSelectorOpt struct {
// contains filtered or unexported fields
}
func AYChannelSelector ¶ added in v0.13.0
func AYChannelSelector(v string) YChannelSelectorOpt
Source Files
¶
- assets.go
- attrs.go
- core_content.go
- core_global.go
- core_node.go
- svg_animate.go
- svg_animateMotion.go
- svg_animateTransform.go
- svg_attrs.go
- svg_circle.go
- svg_clipPath.go
- svg_defs.go
- svg_desc.go
- svg_ellipse.go
- svg_feBlend.go
- svg_feColorMatrix.go
- svg_feComponentTransfer.go
- svg_feComposite.go
- svg_feConvolveMatrix.go
- svg_feDiffuseLighting.go
- svg_feDisplacementMap.go
- svg_feDistantLight.go
- svg_feDropShadow.go
- svg_feFlood.go
- svg_feFuncA.go
- svg_feFuncB.go
- svg_feFuncG.go
- svg_feFuncR.go
- svg_feGaussianBlur.go
- svg_feImage.go
- svg_feMerge.go
- svg_feMergeNode.go
- svg_feMorphology.go
- svg_feOffset.go
- svg_fePointLight.go
- svg_feSpecularLighting.go
- svg_feSpotLight.go
- svg_feTile.go
- svg_feTurbulence.go
- svg_filter.go
- svg_foreignObject.go
- svg_g.go
- svg_image.go
- svg_line.go
- svg_linearGradient.go
- svg_marker.go
- svg_mask.go
- svg_metadata.go
- svg_mpath.go
- svg_path.go
- svg_pattern.go
- svg_polygon.go
- svg_polyline.go
- svg_radialGradient.go
- svg_rect.go
- svg_set.go
- svg_stop.go
- svg_svg.go
- svg_switch.go
- svg_symbol.go
- svg_text.go
- svg_textPath.go
- svg_tspan.go
- svg_use.go
- svg_view.go
- tag_a.go
- tag_applet.go
- tag_area.go
- tag_audio.go
- tag_base.go
- tag_basefont.go
- tag_blockquote.go
- tag_body.go
- tag_br.go
- tag_button.go
- tag_canvas.go
- tag_caption.go
- tag_col.go
- tag_colgroup.go
- tag_data.go
- tag_del.go
- tag_details.go
- tag_dialog.go
- tag_dir.go
- tag_div.go
- tag_dl.go
- tag_embed.go
- tag_fieldset.go
- tag_font.go
- tag_form.go
- tag_frame.go
- tag_frameset.go
- tag_h1.go
- tag_h2.go
- tag_h3.go
- tag_h4.go
- tag_h5.go
- tag_h6.go
- tag_head.go
- tag_hr.go
- tag_html.go
- tag_iframe.go
- tag_img.go
- tag_input.go
- tag_ins.go
- tag_isindex.go
- tag_label.go
- tag_legend.go
- tag_li.go
- tag_link.go
- tag_map.go
- tag_menu.go
- tag_meta.go
- tag_meter.go
- tag_object.go
- tag_ol.go
- tag_optgroup.go
- tag_option.go
- tag_output.go
- tag_p.go
- tag_param.go
- tag_pre.go
- tag_progress.go
- tag_q.go
- tag_script.go
- tag_select.go
- tag_slot.go
- tag_source.go
- tag_style.go
- tag_table.go
- tag_tbody.go
- tag_td.go
- tag_template.go
- tag_textarea.go
- tag_tfoot.go
- tag_th.go
- tag_thead.go
- tag_time.go
- tag_tr.go
- tag_track.go
- tag_ul.go
- tag_video.go