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 AbbrArg
- type AbbrAttrs
- type AbbrOpt
- type AccentHeightOpt
- type AcceptCharsetOpt
- type AcceptOpt
- type AccumulateOpt
- type ActionOpt
- type AdditiveOpt
- type AddressArg
- type AddressAttrs
- type AlignmentBaselineOpt
- type AllowOpt
- type AllowfullscreenOpt
- type AlphaOpt
- type AlphabeticOpt
- type AltOpt
- type AmplitudeOpt
- type ArabicFormOpt
- type AreaArg
- type AreaAttrs
- type ArticleArg
- type ArticleAttrs
- type AsOpt
- type AscentOpt
- type AsideArg
- type AsideAttrs
- type Assets
- type AsyncOpt
- type AttrWriter
- type AttributeNameOpt
- type AttributeTypeOpt
- type AudioArg
- type AudioAttrs
- type AutocompleteOpt
- type AutoplayOpt
- type AzimuthOpt
- type BArg
- type BAttrs
- type BandwidthOpt
- type BaseArg
- type BaseAttrs
- type BaseFrequencyOpt
- type BaseProfileOpt
- type BaselineShiftOpt
- type BboxOpt
- type BdiArg
- type BdiAttrs
- type BdoArg
- type BdoAttrs
- type BeginOpt
- type BiasOpt
- type BlockingOpt
- type BlockquoteArg
- type BlockquoteAttrs
- type BodyArg
- type BodyAttrs
- type BrArg
- type BrAttrs
- type ButtonArg
- type ButtonAttrs
- type ByOpt
- type CalcModeOpt
- type CanvasArg
- type CanvasAttrs
- type CapHeightOpt
- type CaptionArg
- type CaptionAttrs
- type CharsetOpt
- type CheckedOpt
- type ChildOpt
- type CiteArg
- type CiteAttrs
- type CiteOpt
- type ClipOpt
- type ClipPathOpt
- type ClipPathUnitsOpt
- type ClipRuleOpt
- type ClosedbyOpt
- type CodeArg
- type CodeAttrs
- type ColArg
- type ColAttrs
- type ColgroupArg
- type ColgroupAttrs
- type ColorInterpolationFiltersOpt
- type ColorInterpolationOpt
- type ColorOpt
- type ColorProfileOpt
- type ColorRenderingOpt
- type ColorspaceOpt
- type ColsOpt
- type ColspanOpt
- type CommandOpt
- type CommandforOpt
- type Component
- type ContentOpt
- type ContentScriptTypeOpt
- type ContentStyleTypeOpt
- type ControlsOpt
- type CoordsOpt
- type CrossoriginOpt
- type CursorOpt
- type CxOpt
- type CyOpt
- type DOpt
- type DataArg
- type DataAttrs
- type DatalistArg
- type DatalistAttrs
- type DatetimeOpt
- type DdArg
- type DdAttrs
- type DecodingOpt
- type DefaultActionOpt
- type DefaultOpt
- type DeferOpt
- type DelArg
- type DelAttrs
- type DescentOpt
- type DetailsArg
- type DetailsAttrs
- type DfnArg
- type DfnAttrs
- type DialogArg
- type DialogAttrs
- type DiffuseConstantOpt
- type DirectionOpt
- type DirnameOpt
- type DisabledOpt
- type DisplayOpt
- type DivArg
- type DivAttrs
- type DivisorOpt
- type DlArg
- type DlAttrs
- type DominantBaselineOpt
- type DownloadOpt
- type DtArg
- type DtAttrs
- type DurOpt
- type DxOpt
- type DyOpt
- type EdgeModeOpt
- type EditableOpt
- type ElevationOpt
- type EmArg
- type EmAttrs
- type EmbedArg
- type EmbedAttrs
- type EnableBackgroundOpt
- type EnctypeOpt
- type EndOpt
- type EventOpt
- type ExponentOpt
- type ExternalResourcesRequiredOpt
- type FetchpriorityOpt
- type FieldsetArg
- type FieldsetAttrs
- type FigcaptionArg
- type FigcaptionAttrs
- type FigureArg
- type FigureAttrs
- type FillOpacityOpt
- type FillOpt
- type FillRuleOpt
- type FilterOpt
- type FilterResOpt
- type FilterUnitsOpt
- type FloodColorOpt
- type FloodOpacityOpt
- type FocusHighlightOpt
- type FocusableOpt
- type FontFamilyOpt
- type FontSizeAdjustOpt
- type FontSizeOpt
- type FontStretchOpt
- type FontStyleOpt
- type FontVariantOpt
- type FontWeightOpt
- type FooterArg
- type FooterAttrs
- type ForOpt
- type FormArg
- type FormAttrs
- type FormactionOpt
- type FormatOpt
- type FormenctypeOpt
- type FormmethodOpt
- type FormnovalidateOpt
- type FormtargetOpt
- type FrOpt
- type FragmentNode
- type FromOpt
- type FxOpt
- type FyOpt
- type G1Opt
- type G2Opt
- 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 AHidden(v string) 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 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 GlyphNameOpt
- type GlyphOrientationHorizontalOpt
- type GlyphOrientationVerticalOpt
- type GlyphRefOpt
- 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 HandlerOpt
- type HangingOpt
- type HasCSS
- type HasJS
- type HasName
- type HeadArg
- type HeadAttrs
- type HeaderArg
- type HeaderAttrs
- type HeadersOpt
- type HeightOpt
- type HgroupArg
- type HgroupAttrs
- type HighOpt
- type HorizAdvXOpt
- type HorizOriginXOpt
- type HorizOriginYOpt
- type HrArg
- type HrAttrs
- type HrefOpt
- type HreflangOpt
- type HtmlArg
- type HtmlAttrs
- type HttpEquivOpt
- type IArg
- type IAttrs
- type IdeographicOpt
- type IframeArg
- type IframeAttrs
- type ImageRenderingOpt
- type ImagesizesOpt
- type ImagesrcsetOpt
- type ImgArg
- type ImgAttrs
- type In2Opt
- type InOpt
- type InitialVisibilityOpt
- type InputArg
- type InputAttrs
- type InsArg
- type InsAttrs
- type IntegrityOpt
- type InterceptOpt
- type IsmapOpt
- type K1Opt
- type K2Opt
- type K3Opt
- type K4Opt
- type KOpt
- type KbdArg
- type KbdAttrs
- type KernelMatrixOpt
- type KernelUnitLengthOpt
- type KerningOpt
- type KeyPointsOpt
- type KeySplinesOpt
- type KeyTimesOpt
- type KindOpt
- type LabelArg
- type LabelAttrs
- type LabelOpt
- type LegendArg
- type LegendAttrs
- type LengthAdjustOpt
- type LetterSpacingOpt
- type LiArg
- type LiAttrs
- type LightingColorOpt
- type LimitingConeAngleOpt
- type LinkArg
- type LinkAttrs
- type ListOpt
- type LoadingOpt
- type LocalOpt
- type LoopOpt
- type LowOpt
- type MainArg
- type MainAttrs
- type MapArg
- type MapAttrs
- type MarkArg
- type MarkAttrs
- type MarkerEndOpt
- type MarkerHeightOpt
- type MarkerMidOpt
- type MarkerStartOpt
- type MarkerUnitsOpt
- type MarkerWidthOpt
- type MaskContentUnitsOpt
- type MaskOpt
- type MaskUnitsOpt
- type MathArg
- type MathAttrs
- type MathematicalOpt
- type MaxOpt
- type MaxlengthOpt
- type MediaCharacterEncodingOpt
- type MediaContentEncodingsOpt
- type MediaOpt
- type MediaSizeOpt
- type MediaTimeOpt
- 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 NavArg
- type NavAttrs
- type NavDownLeftOpt
- type NavDownOpt
- type NavDownRightOpt
- type NavLeftOpt
- type NavNextOpt
- type NavPrevOpt
- type NavRightOpt
- type NavUpLeftOpt
- type NavUpOpt
- type NavUpRightOpt
- type Node
- func A(args ...AArg) Node
- func Abbr(args ...AbbrArg) Node
- func Address(args ...AddressArg) Node
- func Area(args ...AreaArg) Node
- func Article(args ...ArticleArg) Node
- func Aside(args ...AsideArg) Node
- func Audio(args ...AudioArg) Node
- func B(args ...BArg) Node
- func Base(args ...BaseArg) Node
- func Bdi(args ...BdiArg) Node
- func Bdo(args ...BdoArg) 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 Cite(args ...CiteArg) Node
- func Code(args ...CodeArg) Node
- func Col(args ...ColArg) Node
- func Colgroup(args ...ColgroupArg) Node
- func Data(args ...DataArg) Node
- func Datalist(args ...DatalistArg) Node
- func Dd(args ...DdArg) Node
- func Del(args ...DelArg) Node
- func Details(args ...DetailsArg) Node
- func Dfn(args ...DfnArg) Node
- func Dialog(args ...DialogArg) Node
- func Div(args ...DivArg) Node
- func Dl(args ...DlArg) Node
- func Dt(args ...DtArg) Node
- func Em(args ...EmArg) Node
- func Embed(args ...EmbedArg) Node
- func Fieldset(args ...FieldsetArg) Node
- func Figcaption(args ...FigcaptionArg) Node
- func Figure(args ...FigureArg) Node
- func Footer(args ...FooterArg) Node
- func Form(args ...FormArg) 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 Header(args ...HeaderArg) Node
- func Hgroup(args ...HgroupArg) Node
- func Hr(args ...HrArg) Node
- func Html(args ...HtmlArg) Node
- func I(args ...IArg) Node
- func Iframe(args ...IframeArg) Node
- func Img(args ...ImgArg) Node
- func Input(args ...InputArg) Node
- func Ins(args ...InsArg) Node
- func Kbd(args ...KbdArg) Node
- func Label(args ...LabelArg) Node
- func Legend(args ...LegendArg) Node
- func Li(args ...LiArg) Node
- func Link(args ...LinkArg) Node
- func Main(args ...MainArg) Node
- func Map(args ...MapArg) Node
- func Mark(args ...MarkArg) Node
- func Math(args ...MathArg) Node
- func Menu(args ...MenuArg) Node
- func Meta(args ...MetaArg) Node
- func Meter(args ...MeterArg) Node
- func Nav(args ...NavArg) Node
- func Noscript(args ...NoscriptArg) 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 Picture(args ...PictureArg) Node
- func Pre(args ...PreArg) Node
- func Progress(args ...ProgressArg) Node
- func Q(args ...QArg) Node
- func Rp(args ...RpArg) Node
- func Rt(args ...RtArg) Node
- func Ruby(args ...RubyArg) Node
- func S(args ...SArg) Node
- func Samp(args ...SampArg) Node
- func Script(args ...ScriptArg) Node
- func Search(args ...SearchArg) Node
- func Section(args ...SectionArg) Node
- func Select(args ...SelectArg) Node
- func Selectedcontent(args ...SelectedcontentArg) Node
- func Slot(args ...SlotArg) Node
- func Small(args ...SmallArg) Node
- func Source(args ...SourceArg) Node
- func Span(args ...SpanArg) Node
- func Strong(args ...StrongArg) Node
- func Style(args ...StyleArg) Node
- func Sub(args ...SubArg) Node
- func Summary(args ...SummaryArg) Node
- func Sup(args ...SupArg) Node
- func Svg(args ...SvgArg) Node
- func SvgAltGlyph(args ...SvgAltGlyphArg) Node
- func SvgAltGlyphDef(args ...SvgAltGlyphDefArg) Node
- func SvgAltGlyphItem(args ...SvgAltGlyphItemArg) Node
- func SvgAnimate(args ...SvgAnimateArg) Node
- func SvgAnimateColor(args ...SvgAnimateColorArg) Node
- func SvgAnimateMotion(args ...SvgAnimateMotionArg) Node
- func SvgAnimateTransform(args ...SvgAnimateTransformArg) Node
- func SvgAnimation(args ...SvgAnimationArg) Node
- func SvgCircle(args ...SvgCircleArg) Node
- func SvgClipPath(args ...SvgClipPathArg) Node
- func SvgColorProfile(args ...SvgColorProfileArg) Node
- func SvgCursor(args ...SvgCursorArg) Node
- func SvgDefs(args ...SvgDefsArg) Node
- func SvgDesc(args ...SvgDescArg) Node
- func SvgDiscard(args ...SvgDiscardArg) 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 SvgFont(args ...SvgFontArg) Node
- func SvgFontFace(args ...SvgFontFaceArg) Node
- func SvgFontFaceFormat(args ...SvgFontFaceFormatArg) Node
- func SvgFontFaceName(args ...SvgFontFaceNameArg) Node
- func SvgFontFaceSrc(args ...SvgFontFaceSrcArg) Node
- func SvgFontFaceUri(args ...SvgFontFaceUriArg) Node
- func SvgForeignObject(args ...SvgForeignObjectArg) Node
- func SvgG(args ...SvgGArg) Node
- func SvgGlyph(args ...SvgGlyphArg) Node
- func SvgGlyphRef(args ...SvgGlyphRefArg) Node
- func SvgHandler(args ...SvgHandlerArg) Node
- func SvgHkern(args ...SvgHkernArg) Node
- func SvgImage(args ...SvgImageArg) Node
- func SvgLine(args ...SvgLineArg) Node
- func SvgLinearGradient(args ...SvgLinearGradientArg) Node
- func SvgListener(args ...SvgListenerArg) Node
- func SvgMarker(args ...SvgMarkerArg) Node
- func SvgMask(args ...SvgMaskArg) Node
- func SvgMetadata(args ...SvgMetadataArg) Node
- func SvgMissingGlyph(args ...SvgMissingGlyphArg) 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 SvgPrefetch(args ...SvgPrefetchArg) Node
- func SvgRadialGradient(args ...SvgRadialGradientArg) Node
- func SvgRect(args ...SvgRectArg) Node
- func SvgSet(args ...SvgSetArg) Node
- func SvgSolidColor(args ...SvgSolidColorArg) Node
- func SvgStop(args ...SvgStopArg) Node
- func SvgSwitch(args ...SvgSwitchArg) Node
- func SvgSymbol(args ...SvgSymbolArg) Node
- func SvgTbreak(args ...SvgTbreakArg) Node
- func SvgText(args ...SvgTextArg) Node
- func SvgTextPath(args ...SvgTextPathArg) Node
- func SvgTref(args ...SvgTrefArg) Node
- func SvgTspan(args ...SvgTspanArg) Node
- func SvgUnknown(args ...SvgUnknownArg) Node
- func SvgUse(args ...SvgUseArg) Node
- func SvgView(args ...SvgViewArg) Node
- func SvgVkern(args ...SvgVkernArg) 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 Title(args ...TitleArg) Node
- func Tr(args ...TrArg) Node
- func Track(args ...TrackArg) Node
- func U(args ...UArg) Node
- func Ul(args ...UlArg) Node
- func Var(args ...VarArg) Node
- func Video(args ...VideoArg) Node
- func Wbr(args ...WbrArg) Node
- type NomoduleOpt
- type NoscriptArg
- type NoscriptAttrs
- type NovalidateOpt
- type NumOctavesOpt
- type ObjectArg
- type ObjectAttrs
- type ObserverOpt
- type OffsetOpt
- type OlArg
- type OlAttrs
- type OpacityOpt
- type OpenOpt
- type OperatorOpt
- type OptgroupArg
- type OptgroupAttrs
- type OptimumOpt
- type OptionArg
- type OptionAttrs
- type OrderOpt
- type OrientOpt
- type OrientationOpt
- type OriginOpt
- type OutputArg
- type OutputAttrs
- type OverflowOpt
- type OverlinePositionOpt
- type OverlineThicknessOpt
- type PArg
- type PAttrs
- type Panose1Opt
- type PathLengthOpt
- type PathOpt
- type PatternContentUnitsOpt
- type PatternOpt
- type PatternTransformOpt
- type PatternUnitsOpt
- type PhaseOpt
- type PictureArg
- type PictureAttrs
- type PingOpt
- type PlaceholderOpt
- type PlaybackOrderOpt
- type PlaysinlineOpt
- type PointerEventsOpt
- 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 ProgressArg
- type ProgressAttrs
- type PropagateOpt
- type QArg
- type QAttrs
- type ROpt
- type RadiusOpt
- type ReadonlyOpt
- type RefXOpt
- type RefYOpt
- type ReferrerpolicyOpt
- type RelOpt
- type RenderingIntentOpt
- type RepeatCountOpt
- type RepeatDurOpt
- type RequiredExtensionsOpt
- type RequiredFeaturesOpt
- type RequiredFontsOpt
- type RequiredFormatsOpt
- type RequiredOpt
- type RestartOpt
- type ResultOpt
- type ReversedOpt
- type RotateOpt
- type RowsOpt
- type RowspanOpt
- type RpArg
- type RpAttrs
- type RtArg
- type RtAttrs
- type RubyArg
- type RubyAttrs
- type RxOpt
- type RyOpt
- type SArg
- type SAttrs
- type SampArg
- type SampAttrs
- type SandboxOpt
- type ScaleOpt
- type ScopeOpt
- type ScriptArg
- type ScriptAttrs
- type SearchArg
- type SearchAttrs
- type SectionArg
- type SectionAttrs
- type SeedOpt
- type SelectArg
- type SelectAttrs
- type SelectedOpt
- type SelectedcontentArg
- type SelectedcontentAttrs
- type ShadowrootclonableOpt
- type ShadowrootcustomelementregistryOpt
- type ShadowrootdelegatesfocusOpt
- type ShadowrootmodeOpt
- type ShadowrootserializableOpt
- type ShapeOpt
- type ShapeRenderingOpt
- type SideOpt
- type SizeOpt
- type SizesOpt
- type SlopeOpt
- type SlotArg
- type SlotAttrs
- type SmallArg
- type SmallAttrs
- type SnapshotTimeOpt
- type SourceArg
- type SourceAttrs
- type SpacingOpt
- type SpanArg
- type SpanAttrs
- type SpanOpt
- type SpecularConstantOpt
- type SpecularExponentOpt
- type SpreadMethodOpt
- type SrcOpt
- type SrcdocOpt
- type SrclangOpt
- type SrcsetOpt
- type StartOffsetOpt
- type StartOpt
- type StdDeviationOpt
- type StemhOpt
- type StemvOpt
- type StepOpt
- type StitchTilesOpt
- type StopColorOpt
- type StopOpacityOpt
- type StrikethroughPositionOpt
- type StrikethroughThicknessOpt
- type StringOpt
- type StrokeDasharrayOpt
- type StrokeDashoffsetOpt
- type StrokeLinecapOpt
- type StrokeLinejoinOpt
- type StrokeMiterlimitOpt
- type StrokeOpacityOpt
- type StrokeOpt
- type StrokeWidthOpt
- type StrongArg
- type StrongAttrs
- type StyleArg
- type StyleAttrs
- type SubArg
- type SubAttrs
- type SummaryArg
- type SummaryAttrs
- type SupArg
- type SupAttrs
- type SurfaceScaleOpt
- type SvgAltGlyphArg
- type SvgAltGlyphAttrs
- type SvgAltGlyphDefArg
- type SvgAltGlyphDefAttrs
- type SvgAltGlyphItemArg
- type SvgAltGlyphItemAttrs
- type SvgAnimateArg
- type SvgAnimateAttrs
- type SvgAnimateColorArg
- type SvgAnimateColorAttrs
- type SvgAnimateMotionArg
- type SvgAnimateMotionAttrs
- type SvgAnimateTransformArg
- type SvgAnimateTransformAttrs
- type SvgAnimationArg
- type SvgAnimationAttrs
- type SvgArg
- type SvgAttrs
- type SvgCircleArg
- type SvgCircleAttrs
- type SvgClipPathArg
- type SvgClipPathAttrs
- type SvgColorProfileArg
- type SvgColorProfileAttrs
- type SvgCursorArg
- type SvgCursorAttrs
- type SvgDefsArg
- type SvgDefsAttrs
- type SvgDescArg
- type SvgDescAttrs
- type SvgDiscardArg
- type SvgDiscardAttrs
- 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 SvgFontArg
- type SvgFontAttrs
- type SvgFontFaceArg
- type SvgFontFaceAttrs
- type SvgFontFaceFormatArg
- type SvgFontFaceFormatAttrs
- type SvgFontFaceNameArg
- type SvgFontFaceNameAttrs
- type SvgFontFaceSrcArg
- type SvgFontFaceSrcAttrs
- type SvgFontFaceUriArg
- type SvgFontFaceUriAttrs
- type SvgForeignObjectArg
- type SvgForeignObjectAttrs
- type SvgGArg
- type SvgGAttrs
- type SvgGlyphArg
- type SvgGlyphAttrs
- type SvgGlyphRefArg
- type SvgGlyphRefAttrs
- type SvgHandlerArg
- type SvgHandlerAttrs
- type SvgHkernArg
- type SvgHkernAttrs
- type SvgImageArg
- type SvgImageAttrs
- type SvgLineArg
- type SvgLineAttrs
- type SvgLinearGradientArg
- type SvgLinearGradientAttrs
- type SvgListenerArg
- type SvgListenerAttrs
- type SvgMarkerArg
- type SvgMarkerAttrs
- type SvgMaskArg
- type SvgMaskAttrs
- type SvgMetadataArg
- type SvgMetadataAttrs
- type SvgMissingGlyphArg
- type SvgMissingGlyphAttrs
- type SvgMpathArg
- type SvgMpathAttrs
- type SvgPathArg
- type SvgPathAttrs
- type SvgPatternArg
- type SvgPatternAttrs
- type SvgPolygonArg
- type SvgPolygonAttrs
- type SvgPolylineArg
- type SvgPolylineAttrs
- type SvgPrefetchArg
- type SvgPrefetchAttrs
- type SvgRadialGradientArg
- type SvgRadialGradientAttrs
- type SvgRectArg
- type SvgRectAttrs
- type SvgSetArg
- type SvgSetAttrs
- type SvgSolidColorArg
- type SvgSolidColorAttrs
- type SvgStopArg
- type SvgStopAttrs
- type SvgSwitchArg
- type SvgSwitchAttrs
- type SvgSymbolArg
- type SvgSymbolAttrs
- type SvgTbreakArg
- type SvgTbreakAttrs
- type SvgTextArg
- type SvgTextAttrs
- type SvgTextPathArg
- type SvgTextPathAttrs
- type SvgTrefArg
- type SvgTrefAttrs
- type SvgTspanArg
- type SvgTspanAttrs
- type SvgUnknownArg
- type SvgUnknownAttrs
- type SvgUseArg
- type SvgUseAttrs
- type SvgViewArg
- type SvgViewAttrs
- type SvgVkernArg
- type SvgVkernAttrs
- type SyncBehaviorDefaultOpt
- type SyncBehaviorOpt
- type SyncMasterOpt
- type SyncToleranceDefaultOpt
- type SyncToleranceOpt
- 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 TextAnchorOpt
- type TextDecorationOpt
- type TextLengthOpt
- type TextNode
- type TextRenderingOpt
- type TextareaArg
- type TextareaAttrs
- type TfootArg
- type TfootAttrs
- type ThArg
- type ThAttrs
- type TheadArg
- type TheadAttrs
- type TimeArg
- type TimeAttrs
- type TimelineBeginOpt
- type TitleArg
- type TitleAttrs
- type ToOpt
- type TrArg
- type TrAttrs
- type TrackArg
- type TrackAttrs
- type TransformOpt
- type TxtOpt
- type TypeOpt
- type U1Opt
- type U2Opt
- type UArg
- type UAttrs
- type UlArg
- type UlAttrs
- type UnderlinePositionOpt
- type UnderlineThicknessOpt
- type UnicodeBidiOpt
- type UnicodeOpt
- type UnicodeRangeOpt
- type UnitsPerEmOpt
- type UnsafeTextNode
- type UnsafeTxtOpt
- type UsemapOpt
- type VAlphabeticOpt
- type VHangingOpt
- type VIdeographicOpt
- type VMathematicalOpt
- type ValueOpt
- type ValuesOpt
- type VarArg
- type VarAttrs
- type VersionOpt
- type VertAdvYOpt
- type VertOriginXOpt
- type VertOriginYOpt
- type VideoArg
- type VideoAttrs
- type ViewBoxOpt
- type ViewTargetOpt
- type VisibilityOpt
- type WbrArg
- type WbrAttrs
- type WidthOpt
- type WidthsOpt
- type WordSpacingOpt
- type WrapOpt
- type WritingModeOpt
- type X1Opt
- type X2Opt
- type XChannelSelectorOpt
- type XHeightOpt
- type XOpt
- type Y1Opt
- type Y2Opt
- type YChannelSelectorOpt
- type YOpt
- type ZOpt
- type ZoomAndPanOpt
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
Download string
Href string
Hreflang string
Ping string
Referrerpolicy string
Rel string
Target string
Type string
}
func (*AAttrs) WriteAttrs ¶ added in v0.13.0
type AbbrAttrs ¶
type AbbrAttrs struct {
Global GlobalAttrs
}
func (*AbbrAttrs) WriteAttrs ¶ added in v0.14.0
type AccentHeightOpt ¶ added in v0.14.0
type AccentHeightOpt struct {
// contains filtered or unexported fields
}
func AAccentHeight ¶ added in v0.14.0
func AAccentHeight(v string) AccentHeightOpt
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 AddressArg ¶
type AddressArg interface {
// contains filtered or unexported methods
}
type AddressAttrs ¶
type AddressAttrs struct {
Global GlobalAttrs
}
func (*AddressAttrs) WriteAttrs ¶ added in v0.14.0
func (a *AddressAttrs) WriteAttrs(sb *strings.Builder)
type AlignmentBaselineOpt ¶ added in v0.14.0
type AlignmentBaselineOpt struct {
// contains filtered or unexported fields
}
func AAlignmentBaseline ¶ added in v0.14.0
func AAlignmentBaseline(v string) AlignmentBaselineOpt
type AllowfullscreenOpt ¶
type AllowfullscreenOpt struct{}
func AAllowfullscreen ¶ added in v0.13.0
func AAllowfullscreen() AllowfullscreenOpt
type AlphabeticOpt ¶ added in v0.14.0
type AlphabeticOpt struct {
// contains filtered or unexported fields
}
func AAlphabetic ¶ added in v0.14.0
func AAlphabetic(v string) AlphabeticOpt
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 ArabicFormOpt ¶ added in v0.14.0
type ArabicFormOpt struct {
// contains filtered or unexported fields
}
func AArabicForm ¶ added in v0.14.0
func AArabicForm(v string) ArabicFormOpt
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
Ping string
Referrerpolicy string
Rel string
Shape string
Target string
}
func (*AreaAttrs) WriteAttrs ¶ added in v0.13.0
type ArticleArg ¶
type ArticleArg interface {
// contains filtered or unexported methods
}
type ArticleAttrs ¶
type ArticleAttrs struct {
Global GlobalAttrs
}
func (*ArticleAttrs) WriteAttrs ¶ added in v0.14.0
func (a *ArticleAttrs) WriteAttrs(sb *strings.Builder)
type AscentOpt ¶ added in v0.14.0
type AscentOpt struct {
// contains filtered or unexported fields
}
type AsideAttrs ¶
type AsideAttrs struct {
Global GlobalAttrs
}
func (*AsideAttrs) WriteAttrs ¶ added in v0.14.0
func (a *AsideAttrs) WriteAttrs(sb *strings.Builder)
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 BAttrs ¶
type BAttrs struct {
Global GlobalAttrs
}
func (*BAttrs) WriteAttrs ¶ added in v0.14.0
type BandwidthOpt ¶ added in v0.14.0
type BandwidthOpt struct {
// contains filtered or unexported fields
}
func ABandwidth ¶ added in v0.14.0
func ABandwidth(v string) BandwidthOpt
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 BaseProfileOpt ¶
type BaseProfileOpt struct {
// contains filtered or unexported fields
}
func ABaseProfile ¶ added in v0.14.0
func ABaseProfile(v string) BaseProfileOpt
type BaselineShiftOpt ¶ added in v0.14.0
type BaselineShiftOpt struct {
// contains filtered or unexported fields
}
func ABaselineShift ¶ added in v0.14.0
func ABaselineShift(v string) BaselineShiftOpt
type BdiAttrs ¶ added in v0.14.0
type BdiAttrs struct {
Global GlobalAttrs
}
func (*BdiAttrs) WriteAttrs ¶ added in v0.14.0
type BdoAttrs ¶ added in v0.14.0
type BdoAttrs struct {
Global GlobalAttrs
}
func (*BdoAttrs) WriteAttrs ¶ added in v0.14.0
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
}
func (*BodyAttrs) WriteAttrs ¶ added in v0.13.0
type BrAttrs ¶
type BrAttrs struct {
Global GlobalAttrs
}
func (*BrAttrs) WriteAttrs ¶ added in v0.13.0
type ButtonAttrs ¶
type ButtonAttrs struct {
Global GlobalAttrs
Command string
Commandfor string
Formaction string
Formenctype string
Formmethod string
Formnovalidate bool
Formtarget 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 CapHeightOpt ¶ added in v0.14.0
type CapHeightOpt struct {
// contains filtered or unexported fields
}
func ACapHeight ¶ added in v0.14.0
func ACapHeight(v string) CapHeightOpt
type CaptionArg ¶
type CaptionArg interface {
// contains filtered or unexported methods
}
type CaptionAttrs ¶
type CaptionAttrs struct {
Global GlobalAttrs
}
func (*CaptionAttrs) WriteAttrs ¶ added in v0.13.0
func (a *CaptionAttrs) WriteAttrs(sb *strings.Builder)
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 CiteArg ¶ added in v0.14.0
type CiteArg interface {
// contains filtered or unexported methods
}
type CiteAttrs ¶ added in v0.14.0
type CiteAttrs struct {
Global GlobalAttrs
}
func (*CiteAttrs) WriteAttrs ¶ added in v0.14.0
type ClipPathOpt ¶ added in v0.14.0
type ClipPathOpt struct {
// contains filtered or unexported fields
}
func AClipPath ¶ added in v0.14.0
func AClipPath(v string) ClipPathOpt
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 ClipRuleOpt ¶ added in v0.14.0
type ClipRuleOpt struct {
// contains filtered or unexported fields
}
func AClipRule ¶ added in v0.14.0
func AClipRule(v string) ClipRuleOpt
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 CodeAttrs ¶
type CodeAttrs struct {
Global GlobalAttrs
}
func (*CodeAttrs) WriteAttrs ¶ added in v0.14.0
type ColAttrs ¶
type ColAttrs struct {
Global GlobalAttrs
Span 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
Span string
}
func (*ColgroupAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ColgroupAttrs) WriteAttrs(sb *strings.Builder)
type ColorInterpolationFiltersOpt ¶ added in v0.14.0
type ColorInterpolationFiltersOpt struct {
// contains filtered or unexported fields
}
func AColorInterpolationFilters ¶ added in v0.14.0
func AColorInterpolationFilters(v string) ColorInterpolationFiltersOpt
type ColorInterpolationOpt ¶ added in v0.14.0
type ColorInterpolationOpt struct {
// contains filtered or unexported fields
}
func AColorInterpolation ¶ added in v0.14.0
func AColorInterpolation(v string) ColorInterpolationOpt
type ColorProfileOpt ¶ added in v0.14.0
type ColorProfileOpt struct {
// contains filtered or unexported fields
}
func AColorProfile ¶ added in v0.14.0
func AColorProfile(v string) ColorProfileOpt
type ColorRenderingOpt ¶ added in v0.14.0
type ColorRenderingOpt struct {
// contains filtered or unexported fields
}
func AColorRendering ¶ added in v0.14.0
func AColorRendering(v string) ColorRenderingOpt
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 ContentOpt ¶
type ContentOpt struct {
// contains filtered or unexported fields
}
func AContent ¶ added in v0.13.0
func AContent(v string) ContentOpt
type ContentScriptTypeOpt ¶
type ContentScriptTypeOpt struct {
// contains filtered or unexported fields
}
func AContentScriptType ¶ added in v0.14.0
func AContentScriptType(v string) ContentScriptTypeOpt
type ContentStyleTypeOpt ¶
type ContentStyleTypeOpt struct {
// contains filtered or unexported fields
}
func AContentStyleType ¶ added in v0.14.0
func AContentStyleType(v string) ContentStyleTypeOpt
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 CursorOpt ¶ added in v0.14.0
type CursorOpt struct {
// contains filtered or unexported fields
}
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 DatalistArg ¶
type DatalistArg interface {
// contains filtered or unexported methods
}
type DatalistAttrs ¶
type DatalistAttrs struct {
Global GlobalAttrs
}
func (*DatalistAttrs) WriteAttrs ¶ added in v0.14.0
func (a *DatalistAttrs) WriteAttrs(sb *strings.Builder)
type DatetimeOpt ¶
type DatetimeOpt struct {
// contains filtered or unexported fields
}
func ADatetime ¶ added in v0.13.0
func ADatetime(v string) DatetimeOpt
type DdAttrs ¶
type DdAttrs struct {
Global GlobalAttrs
}
func (*DdAttrs) WriteAttrs ¶ added in v0.14.0
type DecodingOpt ¶
type DecodingOpt struct {
// contains filtered or unexported fields
}
func ADecoding ¶ added in v0.13.0
func ADecoding(v string) DecodingOpt
type DefaultActionOpt ¶ added in v0.14.0
type DefaultActionOpt struct {
// contains filtered or unexported fields
}
func ADefaultAction ¶ added in v0.14.0
func ADefaultAction(v string) DefaultActionOpt
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 DescentOpt ¶ added in v0.14.0
type DescentOpt struct {
// contains filtered or unexported fields
}
func ADescent ¶ added in v0.14.0
func ADescent(v string) DescentOpt
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 DfnAttrs ¶
type DfnAttrs struct {
Global GlobalAttrs
}
func (*DfnAttrs) WriteAttrs ¶ added in v0.14.0
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 DirectionOpt ¶ added in v0.14.0
type DirectionOpt struct {
// contains filtered or unexported fields
}
func ADirection ¶ added in v0.14.0
func ADirection(v string) DirectionOpt
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 DisplayOpt ¶ added in v0.14.0
type DisplayOpt struct {
// contains filtered or unexported fields
}
func ADisplay ¶ added in v0.14.0
func ADisplay(v string) DisplayOpt
type DivAttrs ¶
type DivAttrs struct {
Global GlobalAttrs
}
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
}
func (*DlAttrs) WriteAttrs ¶ added in v0.13.0
type DominantBaselineOpt ¶
type DominantBaselineOpt struct {
// contains filtered or unexported fields
}
func ADominantBaseline ¶ added in v0.14.0
func ADominantBaseline(v string) DominantBaselineOpt
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 DtAttrs ¶
type DtAttrs struct {
Global GlobalAttrs
}
func (*DtAttrs) WriteAttrs ¶ added in v0.14.0
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 EditableOpt ¶ added in v0.14.0
type EditableOpt struct {
// contains filtered or unexported fields
}
func AEditable ¶ added in v0.14.0
func AEditable(v string) EditableOpt
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 EmAttrs ¶
type EmAttrs struct {
Global GlobalAttrs
}
func (*EmAttrs) WriteAttrs ¶ added in v0.14.0
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 EnableBackgroundOpt ¶ added in v0.14.0
type EnableBackgroundOpt struct {
// contains filtered or unexported fields
}
func AEnableBackground ¶ added in v0.14.0
func AEnableBackground(v string) EnableBackgroundOpt
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 {
// contains filtered or unexported fields
}
func AExternalResourcesRequired ¶ added in v0.13.0
func AExternalResourcesRequired(v string) 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
}
func (*FieldsetAttrs) WriteAttrs ¶ added in v0.13.0
func (a *FieldsetAttrs) WriteAttrs(sb *strings.Builder)
type FigcaptionArg ¶
type FigcaptionArg interface {
// contains filtered or unexported methods
}
type FigcaptionAttrs ¶
type FigcaptionAttrs struct {
Global GlobalAttrs
}
func (*FigcaptionAttrs) WriteAttrs ¶ added in v0.14.0
func (a *FigcaptionAttrs) WriteAttrs(sb *strings.Builder)
type FigureAttrs ¶
type FigureAttrs struct {
Global GlobalAttrs
}
func (*FigureAttrs) WriteAttrs ¶ added in v0.14.0
func (a *FigureAttrs) 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 FillRuleOpt ¶
type FillRuleOpt struct {
// contains filtered or unexported fields
}
func AFillRule ¶ added in v0.14.0
func AFillRule(v string) FillRuleOpt
type FilterOpt ¶ added in v0.14.0
type FilterOpt struct {
// contains filtered or unexported fields
}
type FilterResOpt ¶ added in v0.14.0
type FilterResOpt struct {
// contains filtered or unexported fields
}
func AFilterRes ¶ added in v0.14.0
func AFilterRes(v string) FilterResOpt
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 FocusHighlightOpt ¶ added in v0.14.0
type FocusHighlightOpt struct {
// contains filtered or unexported fields
}
func AFocusHighlight ¶ added in v0.14.0
func AFocusHighlight(v string) FocusHighlightOpt
type FocusableOpt ¶ added in v0.14.0
type FocusableOpt struct {
// contains filtered or unexported fields
}
func AFocusable ¶ added in v0.14.0
func AFocusable(v string) FocusableOpt
type FontFamilyOpt ¶
type FontFamilyOpt struct {
// contains filtered or unexported fields
}
func AFontFamily ¶ added in v0.14.0
func AFontFamily(v string) FontFamilyOpt
type FontSizeAdjustOpt ¶ added in v0.14.0
type FontSizeAdjustOpt struct {
// contains filtered or unexported fields
}
func AFontSizeAdjust ¶ added in v0.14.0
func AFontSizeAdjust(v string) FontSizeAdjustOpt
type FontSizeOpt ¶
type FontSizeOpt struct {
// contains filtered or unexported fields
}
func AFontSize ¶ added in v0.14.0
func AFontSize(v string) FontSizeOpt
type FontStretchOpt ¶ added in v0.14.0
type FontStretchOpt struct {
// contains filtered or unexported fields
}
func AFontStretch ¶ added in v0.14.0
func AFontStretch(v string) FontStretchOpt
type FontStyleOpt ¶
type FontStyleOpt struct {
// contains filtered or unexported fields
}
func AFontStyle ¶ added in v0.14.0
func AFontStyle(v string) FontStyleOpt
type FontVariantOpt ¶ added in v0.14.0
type FontVariantOpt struct {
// contains filtered or unexported fields
}
func AFontVariant ¶ added in v0.14.0
func AFontVariant(v string) FontVariantOpt
type FontWeightOpt ¶
type FontWeightOpt struct {
// contains filtered or unexported fields
}
func AFontWeight ¶ added in v0.14.0
func AFontWeight(v string) FontWeightOpt
type FooterAttrs ¶
type FooterAttrs struct {
}
func (*FooterAttrs) WriteAttrs ¶ added in v0.14.0
func (a *FooterAttrs) WriteAttrs(sb *strings.Builder)
type FormAttrs ¶
type FormAttrs struct {
Global GlobalAttrs
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 FormatOpt ¶ added in v0.14.0
type FormatOpt struct {
// contains filtered or unexported fields
}
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 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 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
Hidden string
Id string
Inputmode string
Is string
Itemid string
Itemprop string
Itemref string
Itemtype string
Lang string
Nonce 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, Inert, Itemscope bool
}
type GlyphNameOpt ¶ added in v0.14.0
type GlyphNameOpt struct {
// contains filtered or unexported fields
}
func AGlyphName ¶ added in v0.14.0
func AGlyphName(v string) GlyphNameOpt
type GlyphOrientationHorizontalOpt ¶ added in v0.14.0
type GlyphOrientationHorizontalOpt struct {
// contains filtered or unexported fields
}
func AGlyphOrientationHorizontal ¶ added in v0.14.0
func AGlyphOrientationHorizontal(v string) GlyphOrientationHorizontalOpt
type GlyphOrientationVerticalOpt ¶ added in v0.14.0
type GlyphOrientationVerticalOpt struct {
// contains filtered or unexported fields
}
func AGlyphOrientationVertical ¶ added in v0.14.0
func AGlyphOrientationVertical(v string) GlyphOrientationVerticalOpt
type GlyphRefOpt ¶ added in v0.14.0
type GlyphRefOpt struct {
// contains filtered or unexported fields
}
func AGlyphRef ¶ added in v0.14.0
func AGlyphRef(v string) GlyphRefOpt
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
}
func (*H1Attrs) WriteAttrs ¶ added in v0.13.0
type H2Attrs ¶
type H2Attrs struct {
Global GlobalAttrs
}
func (*H2Attrs) WriteAttrs ¶ added in v0.13.0
type H3Attrs ¶
type H3Attrs struct {
Global GlobalAttrs
}
func (*H3Attrs) WriteAttrs ¶ added in v0.13.0
type H4Attrs ¶
type H4Attrs struct {
Global GlobalAttrs
}
func (*H4Attrs) WriteAttrs ¶ added in v0.13.0
type H5Attrs ¶
type H5Attrs struct {
Global GlobalAttrs
}
func (*H5Attrs) WriteAttrs ¶ added in v0.13.0
type H6Attrs ¶
type H6Attrs struct {
Global GlobalAttrs
}
func (*H6Attrs) WriteAttrs ¶ added in v0.13.0
type HandlerOpt ¶ added in v0.14.0
type HandlerOpt struct {
// contains filtered or unexported fields
}
func AHandler ¶ added in v0.14.0
func AHandler(v string) HandlerOpt
type HangingOpt ¶ added in v0.14.0
type HangingOpt struct {
// contains filtered or unexported fields
}
func AHanging ¶ added in v0.14.0
func AHanging(v string) HangingOpt
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
}
func (*HeadAttrs) WriteAttrs ¶ added in v0.13.0
type HeaderAttrs ¶
type HeaderAttrs struct {
Global GlobalAttrs
}
func (*HeaderAttrs) WriteAttrs ¶ added in v0.14.0
func (a *HeaderAttrs) WriteAttrs(sb *strings.Builder)
type HeadersOpt ¶
type HeadersOpt struct {
// contains filtered or unexported fields
}
func AHeaders ¶ added in v0.13.0
func AHeaders(v string) HeadersOpt
type HgroupArg ¶ added in v0.14.0
type HgroupArg interface {
// contains filtered or unexported methods
}
type HgroupAttrs ¶ added in v0.14.0
type HgroupAttrs struct {
Global GlobalAttrs
}
func (*HgroupAttrs) WriteAttrs ¶ added in v0.14.0
func (a *HgroupAttrs) WriteAttrs(sb *strings.Builder)
type HorizAdvXOpt ¶ added in v0.14.0
type HorizAdvXOpt struct {
// contains filtered or unexported fields
}
func AHorizAdvX ¶ added in v0.14.0
func AHorizAdvX(v string) HorizAdvXOpt
type HorizOriginXOpt ¶ added in v0.14.0
type HorizOriginXOpt struct {
// contains filtered or unexported fields
}
func AHorizOriginX ¶ added in v0.14.0
func AHorizOriginX(v string) HorizOriginXOpt
type HorizOriginYOpt ¶ added in v0.14.0
type HorizOriginYOpt struct {
// contains filtered or unexported fields
}
func AHorizOriginY ¶ added in v0.14.0
func AHorizOriginY(v string) HorizOriginYOpt
type HrAttrs ¶
type HrAttrs struct {
Global GlobalAttrs
}
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 HtmlAttrs ¶
type HtmlAttrs struct {
Global GlobalAttrs
}
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 IAttrs ¶
type IAttrs struct {
Global GlobalAttrs
}
func (*IAttrs) WriteAttrs ¶ added in v0.14.0
type IdeographicOpt ¶ added in v0.14.0
type IdeographicOpt struct {
// contains filtered or unexported fields
}
func AIdeographic ¶ added in v0.14.0
func AIdeographic(v string) IdeographicOpt
type IframeAttrs ¶
type IframeAttrs struct {
Global GlobalAttrs
Allow string
Allowfullscreen bool
Height string
Loading string
Name string
Referrerpolicy string
Sandbox string
Src string
Srcdoc string
Width string
}
func (*IframeAttrs) WriteAttrs ¶ added in v0.13.0
func (a *IframeAttrs) WriteAttrs(sb *strings.Builder)
type ImageRenderingOpt ¶ added in v0.14.0
type ImageRenderingOpt struct {
// contains filtered or unexported fields
}
func AImageRendering ¶ added in v0.14.0
func AImageRendering(v string) ImageRenderingOpt
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
Alt string
Crossorigin string
Decoding string
Fetchpriority string
Height string
Ismap bool
Loading string
Referrerpolicy string
Sizes string
Src string
Srcset string
Usemap string
Width string
}
func (*ImgAttrs) WriteAttrs ¶ added in v0.13.0
type InitialVisibilityOpt ¶ added in v0.14.0
type InitialVisibilityOpt struct {
// contains filtered or unexported fields
}
func AInitialVisibility ¶ added in v0.14.0
func AInitialVisibility(v string) InitialVisibilityOpt
type InputAttrs ¶
type InputAttrs struct {
Global GlobalAttrs
Accept string
Alpha bool
Alt string
Autocomplete string
Checked bool
Colorspace string
Dirname string
Formaction string
Formenctype string
Formmethod string
Formnovalidate bool
Formtarget string
Height string
List string
Max string
Maxlength string
Min string
Minlength string
Multiple bool
Pattern string
Placeholder string
Popovertarget string
Popovertargetaction string
Readonly bool
Required bool
Size string
Src string
Step string
Type 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 KbdAttrs ¶
type KbdAttrs struct {
Global GlobalAttrs
}
func (*KbdAttrs) WriteAttrs ¶ added in v0.14.0
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 KerningOpt ¶ added in v0.14.0
type KerningOpt struct {
// contains filtered or unexported fields
}
func AKerning ¶ added in v0.14.0
func AKerning(v string) KerningOpt
type KeyPointsOpt ¶ added in v0.14.0
type KeyPointsOpt struct {
// contains filtered or unexported fields
}
func AKeyPoints ¶ added in v0.14.0
func AKeyPoints(v string) KeyPointsOpt
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
}
func (*LabelAttrs) WriteAttrs ¶ added in v0.13.0
func (a *LabelAttrs) WriteAttrs(sb *strings.Builder)
type LegendAttrs ¶
type LegendAttrs struct {
Global GlobalAttrs
}
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 LetterSpacingOpt ¶ added in v0.14.0
type LetterSpacingOpt struct {
// contains filtered or unexported fields
}
func ALetterSpacing ¶ added in v0.14.0
func ALetterSpacing(v string) LetterSpacingOpt
type LiAttrs ¶
type LiAttrs struct {
Global GlobalAttrs
Value string
}
func (*LiAttrs) WriteAttrs ¶ added in v0.13.0
type LightingColorOpt ¶ added in v0.14.0
type LightingColorOpt struct {
// contains filtered or unexported fields
}
func ALightingColor ¶ added in v0.14.0
func ALightingColor(v string) LightingColorOpt
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
Color string
Crossorigin string
Disabled bool
Fetchpriority string
Href string
Hreflang string
Imagesizes string
Imagesrcset string
Integrity string
Media string
Referrerpolicy string
Rel string
Sizes 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 MainAttrs ¶
type MainAttrs struct {
Global GlobalAttrs
}
func (*MainAttrs) WriteAttrs ¶ added in v0.14.0
type MapAttrs ¶ added in v0.13.0
type MapAttrs struct {
Global GlobalAttrs
Name string
}
func (*MapAttrs) WriteAttrs ¶ added in v0.13.0
type MarkAttrs ¶
type MarkAttrs struct {
Global GlobalAttrs
}
func (*MarkAttrs) WriteAttrs ¶ added in v0.14.0
type MarkerEndOpt ¶ added in v0.14.0
type MarkerEndOpt struct {
// contains filtered or unexported fields
}
func AMarkerEnd ¶ added in v0.14.0
func AMarkerEnd(v string) MarkerEndOpt
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 MarkerMidOpt ¶ added in v0.14.0
type MarkerMidOpt struct {
// contains filtered or unexported fields
}
func AMarkerMid ¶ added in v0.14.0
func AMarkerMid(v string) MarkerMidOpt
type MarkerStartOpt ¶ added in v0.14.0
type MarkerStartOpt struct {
// contains filtered or unexported fields
}
func AMarkerStart ¶ added in v0.14.0
func AMarkerStart(v string) MarkerStartOpt
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 MathArg ¶ added in v0.14.0
type MathArg interface {
// contains filtered or unexported methods
}
type MathAttrs ¶ added in v0.14.0
type MathAttrs struct {
Global GlobalAttrs
}
func (*MathAttrs) WriteAttrs ¶ added in v0.14.0
type MathematicalOpt ¶ added in v0.14.0
type MathematicalOpt struct {
// contains filtered or unexported fields
}
func AMathematical ¶ added in v0.14.0
func AMathematical(v string) MathematicalOpt
type MaxlengthOpt ¶
type MaxlengthOpt struct {
// contains filtered or unexported fields
}
func AMaxlength ¶ added in v0.13.0
func AMaxlength(v string) MaxlengthOpt
type MediaCharacterEncodingOpt ¶ added in v0.14.0
type MediaCharacterEncodingOpt struct {
// contains filtered or unexported fields
}
func AMediaCharacterEncoding ¶ added in v0.14.0
func AMediaCharacterEncoding(v string) MediaCharacterEncodingOpt
type MediaContentEncodingsOpt ¶ added in v0.14.0
type MediaContentEncodingsOpt struct {
// contains filtered or unexported fields
}
func AMediaContentEncodings ¶ added in v0.14.0
func AMediaContentEncodings(v string) MediaContentEncodingsOpt
type MediaSizeOpt ¶ added in v0.14.0
type MediaSizeOpt struct {
// contains filtered or unexported fields
}
func AMediaSize ¶ added in v0.14.0
func AMediaSize(v string) MediaSizeOpt
type MediaTimeOpt ¶ added in v0.14.0
type MediaTimeOpt struct {
// contains filtered or unexported fields
}
func AMediaTime ¶ added in v0.14.0
func AMediaTime(v string) MediaTimeOpt
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
}
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
}
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 NavDownLeftOpt ¶ added in v0.14.0
type NavDownLeftOpt struct {
// contains filtered or unexported fields
}
func ANavDownLeft ¶ added in v0.14.0
func ANavDownLeft(v string) NavDownLeftOpt
type NavDownOpt ¶ added in v0.14.0
type NavDownOpt struct {
// contains filtered or unexported fields
}
func ANavDown ¶ added in v0.14.0
func ANavDown(v string) NavDownOpt
type NavDownRightOpt ¶ added in v0.14.0
type NavDownRightOpt struct {
// contains filtered or unexported fields
}
func ANavDownRight ¶ added in v0.14.0
func ANavDownRight(v string) NavDownRightOpt
type NavLeftOpt ¶ added in v0.14.0
type NavLeftOpt struct {
// contains filtered or unexported fields
}
func ANavLeft ¶ added in v0.14.0
func ANavLeft(v string) NavLeftOpt
type NavNextOpt ¶ added in v0.14.0
type NavNextOpt struct {
// contains filtered or unexported fields
}
func ANavNext ¶ added in v0.14.0
func ANavNext(v string) NavNextOpt
type NavPrevOpt ¶ added in v0.14.0
type NavPrevOpt struct {
// contains filtered or unexported fields
}
func ANavPrev ¶ added in v0.14.0
func ANavPrev(v string) NavPrevOpt
type NavRightOpt ¶ added in v0.14.0
type NavRightOpt struct {
// contains filtered or unexported fields
}
func ANavRight ¶ added in v0.14.0
func ANavRight(v string) NavRightOpt
type NavUpLeftOpt ¶ added in v0.14.0
type NavUpLeftOpt struct {
// contains filtered or unexported fields
}
func ANavUpLeft ¶ added in v0.14.0
func ANavUpLeft(v string) NavUpLeftOpt
type NavUpRightOpt ¶ added in v0.14.0
type NavUpRightOpt struct {
// contains filtered or unexported fields
}
func ANavUpRight ¶ added in v0.14.0
func ANavUpRight(v string) NavUpRightOpt
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 Address ¶
func Address(args ...AddressArg) Node
func Article ¶
func Article(args ...ArticleArg) Node
func Blockquote ¶
func Blockquote(args ...BlockquoteArg) Node
func Caption ¶
func Caption(args ...CaptionArg) Node
func Colgroup ¶
func Colgroup(args ...ColgroupArg) Node
func Datalist ¶
func Datalist(args ...DatalistArg) Node
func Details ¶
func Details(args ...DetailsArg) Node
func Fieldset ¶
func Fieldset(args ...FieldsetArg) Node
func Figcaption ¶
func Figcaption(args ...FigcaptionArg) Node
func Noscript ¶ added in v0.14.0
func Noscript(args ...NoscriptArg) Node
func Optgroup ¶
func Optgroup(args ...OptgroupArg) Node
func Picture ¶ added in v0.14.0
func Picture(args ...PictureArg) Node
func Progress ¶ added in v0.13.0
func Progress(args ...ProgressArg) Node
func Section ¶
func Section(args ...SectionArg) Node
func Selectedcontent ¶ added in v0.14.0
func Selectedcontent(args ...SelectedcontentArg) Node
func Summary ¶
func Summary(args ...SummaryArg) Node
func SvgAltGlyph ¶ added in v0.14.0
func SvgAltGlyph(args ...SvgAltGlyphArg) Node
SvgAltGlyph creates an SVG altGlyph element
func SvgAltGlyphDef ¶ added in v0.14.0
func SvgAltGlyphDef(args ...SvgAltGlyphDefArg) Node
SvgAltGlyphDef creates an SVG altGlyphDef element
func SvgAltGlyphItem ¶ added in v0.14.0
func SvgAltGlyphItem(args ...SvgAltGlyphItemArg) Node
SvgAltGlyphItem creates an SVG altGlyphItem element
func SvgAnimate ¶ added in v0.13.0
func SvgAnimate(args ...SvgAnimateArg) Node
SvgAnimate creates an SVG animate element
func SvgAnimateColor ¶ added in v0.14.0
func SvgAnimateColor(args ...SvgAnimateColorArg) Node
SvgAnimateColor creates an SVG animateColor element
func SvgAnimateMotion ¶ added in v0.13.0
func SvgAnimateMotion(args ...SvgAnimateMotionArg) Node
SvgAnimateMotion creates an SVG animateMotion element
func SvgAnimateTransform ¶ added in v0.13.0
func SvgAnimateTransform(args ...SvgAnimateTransformArg) Node
SvgAnimateTransform creates an SVG animateTransform element
func SvgAnimation ¶ added in v0.14.0
func SvgAnimation(args ...SvgAnimationArg) Node
SvgAnimation creates an SVG animation element
func SvgCircle ¶ added in v0.13.0
func SvgCircle(args ...SvgCircleArg) Node
SvgCircle creates an SVG circle element
func SvgClipPath ¶ added in v0.13.0
func SvgClipPath(args ...SvgClipPathArg) Node
SvgClipPath creates an SVG clipPath element
func SvgColorProfile ¶ added in v0.14.0
func SvgColorProfile(args ...SvgColorProfileArg) Node
SvgColorProfile creates an SVG color-profile element
func SvgCursor ¶ added in v0.14.0
func SvgCursor(args ...SvgCursorArg) Node
SvgCursor creates an SVG cursor 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 SvgDiscard ¶ added in v0.14.0
func SvgDiscard(args ...SvgDiscardArg) Node
SvgDiscard creates an SVG discard element
func SvgEllipse ¶ added in v0.13.0
func SvgEllipse(args ...SvgEllipseArg) Node
SvgEllipse creates an SVG ellipse element
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 SvgFont ¶ added in v0.14.0
func SvgFont(args ...SvgFontArg) Node
SvgFont creates an SVG font element
func SvgFontFace ¶ added in v0.14.0
func SvgFontFace(args ...SvgFontFaceArg) Node
SvgFontFace creates an SVG font-face element
func SvgFontFaceFormat ¶ added in v0.14.0
func SvgFontFaceFormat(args ...SvgFontFaceFormatArg) Node
SvgFontFaceFormat creates an SVG font-face-format element
func SvgFontFaceName ¶ added in v0.14.0
func SvgFontFaceName(args ...SvgFontFaceNameArg) Node
SvgFontFaceName creates an SVG font-face-name element
func SvgFontFaceSrc ¶ added in v0.14.0
func SvgFontFaceSrc(args ...SvgFontFaceSrcArg) Node
SvgFontFaceSrc creates an SVG font-face-src element
func SvgFontFaceUri ¶ added in v0.14.0
func SvgFontFaceUri(args ...SvgFontFaceUriArg) Node
SvgFontFaceUri creates an SVG font-face-uri element
func SvgForeignObject ¶ added in v0.13.0
func SvgForeignObject(args ...SvgForeignObjectArg) Node
SvgForeignObject creates an SVG foreignObject element
func SvgGlyph ¶ added in v0.14.0
func SvgGlyph(args ...SvgGlyphArg) Node
SvgGlyph creates an SVG glyph element
func SvgGlyphRef ¶ added in v0.14.0
func SvgGlyphRef(args ...SvgGlyphRefArg) Node
SvgGlyphRef creates an SVG glyphRef element
func SvgHandler ¶ added in v0.14.0
func SvgHandler(args ...SvgHandlerArg) Node
SvgHandler creates an SVG handler element
func SvgHkern ¶ added in v0.14.0
func SvgHkern(args ...SvgHkernArg) Node
SvgHkern creates an SVG hkern 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
func SvgLinearGradient ¶ added in v0.13.0
func SvgLinearGradient(args ...SvgLinearGradientArg) Node
SvgLinearGradient creates an SVG linearGradient element
func SvgListener ¶ added in v0.14.0
func SvgListener(args ...SvgListenerArg) Node
SvgListener creates an SVG listener 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 SvgMissingGlyph ¶ added in v0.14.0
func SvgMissingGlyph(args ...SvgMissingGlyphArg) Node
SvgMissingGlyph creates an SVG missing-glyph 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
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
func SvgPolyline ¶ added in v0.13.0
func SvgPolyline(args ...SvgPolylineArg) Node
SvgPolyline creates an SVG polyline element
func SvgPrefetch ¶ added in v0.14.0
func SvgPrefetch(args ...SvgPrefetchArg) Node
SvgPrefetch creates an SVG prefetch element
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
func SvgSolidColor ¶ added in v0.14.0
func SvgSolidColor(args ...SvgSolidColorArg) Node
SvgSolidColor creates an SVG solidColor element
func SvgStop ¶ added in v0.13.0
func SvgStop(args ...SvgStopArg) Node
SvgStop creates an SVG stop element
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 SvgTbreak ¶ added in v0.14.0
func SvgTbreak(args ...SvgTbreakArg) Node
SvgTbreak creates an SVG tbreak element
func SvgTextPath ¶ added in v0.13.0
func SvgTextPath(args ...SvgTextPathArg) Node
SvgTextPath creates an SVG textPath element
func SvgTref ¶ added in v0.14.0
func SvgTref(args ...SvgTrefArg) Node
SvgTref creates an SVG tref element
func SvgTspan ¶ added in v0.13.0
func SvgTspan(args ...SvgTspanArg) Node
SvgTspan creates an SVG tspan element
func SvgUnknown ¶ added in v0.14.0
func SvgUnknown(args ...SvgUnknownArg) Node
SvgUnknown creates an SVG unknown element
func SvgView ¶ added in v0.13.0
func SvgView(args ...SvgViewArg) Node
SvgView creates an SVG view element
func SvgVkern ¶ added in v0.14.0
func SvgVkern(args ...SvgVkernArg) Node
SvgVkern creates an SVG vkern 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 NoscriptArg ¶ added in v0.14.0
type NoscriptArg interface {
// contains filtered or unexported methods
}
type NoscriptAttrs ¶ added in v0.14.0
type NoscriptAttrs struct {
Global GlobalAttrs
}
func (*NoscriptAttrs) WriteAttrs ¶ added in v0.14.0
func (a *NoscriptAttrs) WriteAttrs(sb *strings.Builder)
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
Data string
Height string
Name string
Type string
Width string
}
func (*ObjectAttrs) WriteAttrs ¶ added in v0.13.0
func (a *ObjectAttrs) WriteAttrs(sb *strings.Builder)
type ObserverOpt ¶ added in v0.14.0
type ObserverOpt struct {
// contains filtered or unexported fields
}
func AObserver ¶ added in v0.14.0
func AObserver(v string) ObserverOpt
type OffsetOpt ¶ added in v0.13.0
type OffsetOpt struct {
// contains filtered or unexported fields
}
type OlAttrs ¶
type OlAttrs struct {
Global GlobalAttrs
Reversed bool
Start string
Type string
}
func (*OlAttrs) WriteAttrs ¶ added in v0.13.0
type OpacityOpt ¶
type OpacityOpt struct {
// contains filtered or unexported fields
}
func AOpacity ¶ added in v0.14.0
func AOpacity(v string) OpacityOpt
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
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
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 OrientationOpt ¶ added in v0.14.0
type OrientationOpt struct {
// contains filtered or unexported fields
}
func AOrientation ¶ added in v0.14.0
func AOrientation(v string) OrientationOpt
type OriginOpt ¶ added in v0.14.0
type OriginOpt 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
}
func (*OutputAttrs) WriteAttrs ¶ added in v0.13.0
func (a *OutputAttrs) WriteAttrs(sb *strings.Builder)
type OverflowOpt ¶ added in v0.14.0
type OverflowOpt struct {
// contains filtered or unexported fields
}
func AOverflow ¶ added in v0.14.0
func AOverflow(v string) OverflowOpt
type OverlinePositionOpt ¶ added in v0.14.0
type OverlinePositionOpt struct {
// contains filtered or unexported fields
}
func AOverlinePosition ¶ added in v0.14.0
func AOverlinePosition(v string) OverlinePositionOpt
type OverlineThicknessOpt ¶ added in v0.14.0
type OverlineThicknessOpt struct {
// contains filtered or unexported fields
}
func AOverlineThickness ¶ added in v0.14.0
func AOverlineThickness(v string) OverlineThicknessOpt
type PAttrs ¶
type PAttrs struct {
Global GlobalAttrs
}
func (*PAttrs) WriteAttrs ¶ added in v0.13.0
type Panose1Opt ¶ added in v0.14.0
type Panose1Opt struct {
// contains filtered or unexported fields
}
func APanose1 ¶ added in v0.14.0
func APanose1(v string) Panose1Opt
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 PictureArg ¶ added in v0.14.0
type PictureArg interface {
// contains filtered or unexported methods
}
type PictureAttrs ¶ added in v0.14.0
type PictureAttrs struct {
Global GlobalAttrs
}
func (*PictureAttrs) WriteAttrs ¶ added in v0.14.0
func (a *PictureAttrs) WriteAttrs(sb *strings.Builder)
type PlaceholderOpt ¶
type PlaceholderOpt struct {
// contains filtered or unexported fields
}
func APlaceholder ¶ added in v0.13.0
func APlaceholder(v string) PlaceholderOpt
type PlaybackOrderOpt ¶ added in v0.14.0
type PlaybackOrderOpt struct {
// contains filtered or unexported fields
}
func APlaybackOrder ¶ added in v0.14.0
func APlaybackOrder(v string) PlaybackOrderOpt
type PlaysinlineOpt ¶ added in v0.13.0
type PlaysinlineOpt struct{}
func APlaysinline ¶ added in v0.13.0
func APlaysinline() PlaysinlineOpt
type PointerEventsOpt ¶ added in v0.14.0
type PointerEventsOpt struct {
// contains filtered or unexported fields
}
func APointerEvents ¶ added in v0.14.0
func APointerEvents(v string) PointerEventsOpt
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
}
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 {
// contains filtered or unexported fields
}
func APreserveAlpha ¶ added in v0.13.0
func APreserveAlpha(v string) 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 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 PropagateOpt ¶ added in v0.14.0
type PropagateOpt struct {
// contains filtered or unexported fields
}
func APropagate ¶ added in v0.14.0
func APropagate(v string) PropagateOpt
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 RenderingIntentOpt ¶ added in v0.14.0
type RenderingIntentOpt struct {
// contains filtered or unexported fields
}
func ARenderingIntent ¶ added in v0.14.0
func ARenderingIntent(v string) RenderingIntentOpt
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 RequiredFontsOpt ¶ added in v0.14.0
type RequiredFontsOpt struct {
// contains filtered or unexported fields
}
func ARequiredFonts ¶ added in v0.14.0
func ARequiredFonts(v string) RequiredFontsOpt
type RequiredFormatsOpt ¶ added in v0.14.0
type RequiredFormatsOpt struct {
// contains filtered or unexported fields
}
func ARequiredFormats ¶ added in v0.14.0
func ARequiredFormats(v string) RequiredFormatsOpt
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 ResultOpt ¶ added in v0.14.0
type ResultOpt struct {
// contains filtered or unexported fields
}
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 RpAttrs ¶ added in v0.14.0
type RpAttrs struct {
Global GlobalAttrs
}
func (*RpAttrs) WriteAttrs ¶ added in v0.14.0
type RtAttrs ¶ added in v0.14.0
type RtAttrs struct {
Global GlobalAttrs
}
func (*RtAttrs) WriteAttrs ¶ added in v0.14.0
type RubyArg ¶ added in v0.14.0
type RubyArg interface {
// contains filtered or unexported methods
}
type RubyAttrs ¶ added in v0.14.0
type RubyAttrs struct {
Global GlobalAttrs
}
func (*RubyAttrs) WriteAttrs ¶ added in v0.14.0
type SAttrs ¶
type SAttrs struct {
Global GlobalAttrs
}
func (*SAttrs) WriteAttrs ¶ added in v0.14.0
type SampAttrs ¶
type SampAttrs struct {
Global GlobalAttrs
}
func (*SampAttrs) WriteAttrs ¶ added in v0.14.0
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
Crossorigin string
Defer bool
Fetchpriority string
Integrity 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 SearchArg ¶ added in v0.14.0
type SearchArg interface {
// contains filtered or unexported methods
}
type SearchAttrs ¶ added in v0.14.0
type SearchAttrs struct {
Global GlobalAttrs
}
func (*SearchAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SearchAttrs) WriteAttrs(sb *strings.Builder)
type SectionArg ¶
type SectionArg interface {
// contains filtered or unexported methods
}
type SectionAttrs ¶
type SectionAttrs struct {
Global GlobalAttrs
}
func (*SectionAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SectionAttrs) WriteAttrs(sb *strings.Builder)
type SelectAttrs ¶
type SelectAttrs struct {
Global GlobalAttrs
Autocomplete string
Multiple bool
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 SelectedcontentArg ¶ added in v0.14.0
type SelectedcontentArg interface {
// contains filtered or unexported methods
}
type SelectedcontentAttrs ¶ added in v0.14.0
type SelectedcontentAttrs struct {
Global GlobalAttrs
}
func (*SelectedcontentAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SelectedcontentAttrs) WriteAttrs(sb *strings.Builder)
type ShadowrootclonableOpt ¶ added in v0.13.0
type ShadowrootclonableOpt struct{}
func AShadowrootclonable ¶ added in v0.13.0
func AShadowrootclonable() ShadowrootclonableOpt
type ShadowrootcustomelementregistryOpt ¶ added in v0.13.0
type ShadowrootcustomelementregistryOpt struct{}
func AShadowrootcustomelementregistry ¶ added in v0.13.0
func AShadowrootcustomelementregistry() ShadowrootcustomelementregistryOpt
type ShadowrootdelegatesfocusOpt ¶ added in v0.13.0
type ShadowrootdelegatesfocusOpt struct{}
func AShadowrootdelegatesfocus ¶ added in v0.13.0
func AShadowrootdelegatesfocus() 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{}
func AShadowrootserializable ¶ added in v0.13.0
func AShadowrootserializable() ShadowrootserializableOpt
type ShapeRenderingOpt ¶ added in v0.14.0
type ShapeRenderingOpt struct {
// contains filtered or unexported fields
}
func AShapeRendering ¶ added in v0.14.0
func AShapeRendering(v string) ShapeRenderingOpt
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 SmallAttrs ¶
type SmallAttrs struct {
Global GlobalAttrs
}
func (*SmallAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SmallAttrs) WriteAttrs(sb *strings.Builder)
type SnapshotTimeOpt ¶ added in v0.14.0
type SnapshotTimeOpt struct {
// contains filtered or unexported fields
}
func ASnapshotTime ¶ added in v0.14.0
func ASnapshotTime(v string) SnapshotTimeOpt
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 SpanAttrs ¶
type SpanAttrs struct {
Global GlobalAttrs
}
func (*SpanAttrs) WriteAttrs ¶ added in v0.14.0
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 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 StopOpacityOpt ¶ added in v0.14.0
type StopOpacityOpt struct {
// contains filtered or unexported fields
}
func AStopOpacity ¶ added in v0.14.0
func AStopOpacity(v string) StopOpacityOpt
type StrikethroughPositionOpt ¶ added in v0.14.0
type StrikethroughPositionOpt struct {
// contains filtered or unexported fields
}
func AStrikethroughPosition ¶ added in v0.14.0
func AStrikethroughPosition(v string) StrikethroughPositionOpt
type StrikethroughThicknessOpt ¶ added in v0.14.0
type StrikethroughThicknessOpt struct {
// contains filtered or unexported fields
}
func AStrikethroughThickness ¶ added in v0.14.0
func AStrikethroughThickness(v string) StrikethroughThicknessOpt
type StringOpt ¶ added in v0.14.0
type StringOpt struct {
// contains filtered or unexported fields
}
type StrokeDasharrayOpt ¶
type StrokeDasharrayOpt struct {
// contains filtered or unexported fields
}
func AStrokeDasharray ¶ added in v0.14.0
func AStrokeDasharray(v string) StrokeDasharrayOpt
type StrokeDashoffsetOpt ¶
type StrokeDashoffsetOpt struct {
// contains filtered or unexported fields
}
func AStrokeDashoffset ¶ added in v0.14.0
func AStrokeDashoffset(v string) StrokeDashoffsetOpt
type StrokeLinecapOpt ¶
type StrokeLinecapOpt struct {
// contains filtered or unexported fields
}
func AStrokeLinecap ¶ added in v0.14.0
func AStrokeLinecap(v string) StrokeLinecapOpt
type StrokeLinejoinOpt ¶
type StrokeLinejoinOpt struct {
// contains filtered or unexported fields
}
func AStrokeLinejoin ¶ added in v0.14.0
func AStrokeLinejoin(v string) StrokeLinejoinOpt
type StrokeMiterlimitOpt ¶
type StrokeMiterlimitOpt struct {
// contains filtered or unexported fields
}
func AStrokeMiterlimit ¶ added in v0.14.0
func AStrokeMiterlimit(v string) StrokeMiterlimitOpt
type StrokeOpacityOpt ¶
type StrokeOpacityOpt struct {
// contains filtered or unexported fields
}
func AStrokeOpacity ¶ added in v0.14.0
func AStrokeOpacity(v string) StrokeOpacityOpt
type StrokeWidthOpt ¶
type StrokeWidthOpt struct {
// contains filtered or unexported fields
}
func AStrokeWidth ¶ added in v0.14.0
func AStrokeWidth(v string) StrokeWidthOpt
type StrongAttrs ¶
type StrongAttrs struct {
Global GlobalAttrs
}
func (*StrongAttrs) WriteAttrs ¶ added in v0.14.0
func (a *StrongAttrs) WriteAttrs(sb *strings.Builder)
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
}
func (*StyleAttrs) WriteAttrs ¶ added in v0.13.0
func (a *StyleAttrs) WriteAttrs(sb *strings.Builder)
type SubAttrs ¶
type SubAttrs struct {
Global GlobalAttrs
}
func (*SubAttrs) WriteAttrs ¶ added in v0.14.0
type SummaryArg ¶
type SummaryArg interface {
// contains filtered or unexported methods
}
type SummaryAttrs ¶
type SummaryAttrs struct {
Global GlobalAttrs
}
func (*SummaryAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SummaryAttrs) WriteAttrs(sb *strings.Builder)
type SupAttrs ¶
type SupAttrs struct {
Global GlobalAttrs
}
func (*SupAttrs) WriteAttrs ¶ added in v0.14.0
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 SvgAltGlyphArg ¶ added in v0.14.0
type SvgAltGlyphArg interface {
// contains filtered or unexported methods
}
SvgAltGlyphArg interface for altGlyph element arguments
type SvgAltGlyphAttrs ¶ added in v0.14.0
type SvgAltGlyphAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
Format string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
GlyphRef string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
Rotate string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
X string
Y string
}
SvgAltGlyphAttrs holds the attributes for the altGlyph SVG element
func (*SvgAltGlyphAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgAltGlyphAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgAltGlyphDefArg ¶ added in v0.14.0
type SvgAltGlyphDefArg interface {
// contains filtered or unexported methods
}
SvgAltGlyphDefArg interface for altGlyphDef element arguments
type SvgAltGlyphDefAttrs ¶ added in v0.14.0
type SvgAltGlyphDefAttrs struct {
GlobalAttrs
}
SvgAltGlyphDefAttrs holds the attributes for the altGlyphDef SVG element
func (*SvgAltGlyphDefAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgAltGlyphDefAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgAltGlyphItemArg ¶ added in v0.14.0
type SvgAltGlyphItemArg interface {
// contains filtered or unexported methods
}
SvgAltGlyphItemArg interface for altGlyphItem element arguments
type SvgAltGlyphItemAttrs ¶ added in v0.14.0
type SvgAltGlyphItemAttrs struct {
GlobalAttrs
}
SvgAltGlyphItemAttrs holds the attributes for the altGlyphItem SVG element
func (*SvgAltGlyphItemAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgAltGlyphItemAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
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
AlignmentBaseline string
AttributeName string
AttributeType string
BaselineShift string
Begin string
By string
CalcMode string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dur string
EnableBackground string
End string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
From string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Href string
ImageRendering string
Kerning string
KeySplines string
KeyTimes string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Max string
Min string
Opacity string
Overflow string
PointerEvents string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
To string
UnicodeBidi string
Values string
Visibility string
WordSpacing string
WritingMode 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 SvgAnimateColorArg ¶ added in v0.14.0
type SvgAnimateColorArg interface {
// contains filtered or unexported methods
}
SvgAnimateColorArg interface for animateColor element arguments
type SvgAnimateColorAttrs ¶ added in v0.14.0
type SvgAnimateColorAttrs struct {
GlobalAttrs
Accumulate string
Additive string
AlignmentBaseline string
AttributeName string
AttributeType string
BaselineShift string
Begin string
By string
CalcMode string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dur string
EnableBackground string
End string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
From string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
KeySplines string
KeyTimes string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Max string
Min string
Opacity string
Overflow string
PointerEvents string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
To string
UnicodeBidi string
Values string
Visibility string
WordSpacing string
WritingMode string
}
SvgAnimateColorAttrs holds the attributes for the animateColor SVG element
func (*SvgAnimateColorAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgAnimateColorAttrs) 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
ExternalResourcesRequired string
Fill string
From string
Href string
KeyPoints string
KeySplines string
KeyTimes string
Max string
Min string
Origin string
Path string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
Rotate string
SystemLanguage 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
ExternalResourcesRequired string
Fill string
From string
Href string
KeySplines string
KeyTimes string
Max string
Min string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
SystemLanguage 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 SvgAnimationArg ¶ added in v0.14.0
type SvgAnimationArg interface {
// contains filtered or unexported methods
}
SvgAnimationArg interface for animation element arguments
type SvgAnimationAttrs ¶ added in v0.14.0
type SvgAnimationAttrs struct {
GlobalAttrs
Begin string
Dur string
End string
ExternalResourcesRequired string
Fill string
FocusHighlight string
Focusable string
Height string
InitialVisibility string
Max string
Min string
PreserveAspectRatio string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
SyncBehavior string
SyncMaster string
SyncTolerance string
SystemLanguage string
Transform string
Width string
X string
Y string
}
SvgAnimationAttrs holds the attributes for the animation SVG element
func (*SvgAnimationAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgAnimationAttrs) 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
AlignmentBaseline string
BaseProfile string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
ContentScriptType string
ContentStyleType string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PlaybackOrder string
PointerEvents string
PreserveAspectRatio string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
SnapshotTime string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SyncBehaviorDefault string
SyncToleranceDefault string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
TimelineBegin string
Transform string
UnicodeBidi string
Version string
ViewBox string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y string
ZoomAndPan 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Cx string
Cy string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
R string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
ClipPathUnits string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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 SvgColorProfileArg ¶ added in v0.14.0
type SvgColorProfileArg interface {
// contains filtered or unexported methods
}
SvgColorProfileArg interface for color-profile element arguments
type SvgColorProfileAttrs ¶ added in v0.14.0
type SvgColorProfileAttrs struct {
GlobalAttrs
Local string
Name string
RenderingIntent string
}
SvgColorProfileAttrs holds the attributes for the color-profile SVG element
func (*SvgColorProfileAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgColorProfileAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgCursorArg ¶ added in v0.14.0
type SvgCursorArg interface {
// contains filtered or unexported methods
}
SvgCursorArg interface for cursor element arguments
type SvgCursorAttrs ¶ added in v0.14.0
type SvgCursorAttrs struct {
GlobalAttrs
ExternalResourcesRequired string
RequiredExtensions string
RequiredFeatures string
SystemLanguage string
X string
Y string
}
SvgCursorAttrs holds the attributes for the cursor SVG element
func (*SvgCursorAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgCursorAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
}
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
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
SystemLanguage string
}
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 SvgDiscardArg ¶ added in v0.14.0
type SvgDiscardArg interface {
// contains filtered or unexported methods
}
SvgDiscardArg interface for discard element arguments
type SvgDiscardAttrs ¶ added in v0.14.0
type SvgDiscardAttrs struct {
GlobalAttrs
Begin string
Href string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
SystemLanguage string
}
SvgDiscardAttrs holds the attributes for the discard SVG element
func (*SvgDiscardAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgDiscardAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Cx string
Cy string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Rx string
Ry string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
In2 string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Mode string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
Type string
UnicodeBidi string
Values string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
In2 string
K1 string
K2 string
K3 string
K4 string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Operator string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Bias string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
Divisor string
DominantBaseline string
EdgeMode string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
KernelMatrix string
KernelUnitLength string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Order string
Overflow string
PointerEvents string
PreserveAlpha string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TargetX string
TargetY string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
DiffuseConstant string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
KernelUnitLength string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SurfaceScale string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
In2 string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
Scale string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
XChannelSelector string
Y 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
Height string
In string
Result string
StdDeviation string
Width string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EdgeMode string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StdDeviation string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Crossorigin string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
PreserveAspectRatio string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y string
}
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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Operator string
Overflow string
PointerEvents string
Radius string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
KernelUnitLength string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
SpecularConstant string
SpecularExponent string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SurfaceScale string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
In string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
Result string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaseFrequency string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
NumOctaves string
Opacity string
Overflow string
PointerEvents string
Result string
Seed string
ShapeRendering string
StitchTiles string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
Type string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FilterRes string
FilterUnits string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
PrimitiveUnits string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode 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 SvgFontArg ¶ added in v0.14.0
type SvgFontArg interface {
// contains filtered or unexported methods
}
SvgFontArg interface for font element arguments
type SvgFontAttrs ¶ added in v0.14.0
type SvgFontAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
HorizAdvX string
HorizOriginX string
HorizOriginY string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
VertAdvY string
VertOriginX string
VertOriginY string
Visibility string
WordSpacing string
WritingMode string
}
SvgFontAttrs holds the attributes for the font SVG element
func (*SvgFontAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFontFaceArg ¶ added in v0.14.0
type SvgFontFaceArg interface {
// contains filtered or unexported methods
}
SvgFontFaceArg interface for font-face element arguments
type SvgFontFaceAttrs ¶ added in v0.14.0
type SvgFontFaceAttrs struct {
GlobalAttrs
AccentHeight string
Alphabetic string
Ascent string
Bbox string
CapHeight string
Descent string
ExternalResourcesRequired string
FontFamily string
FontSize string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
Hanging string
Ideographic string
Mathematical string
OverlinePosition string
OverlineThickness string
Panose1 string
Slope string
Stemh string
Stemv string
StrikethroughPosition string
StrikethroughThickness string
UnderlinePosition string
UnderlineThickness string
UnicodeRange string
UnitsPerEm string
VAlphabetic string
VHanging string
VIdeographic string
VMathematical string
Widths string
XHeight string
}
SvgFontFaceAttrs holds the attributes for the font-face SVG element
func (*SvgFontFaceAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontFaceAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFontFaceFormatArg ¶ added in v0.14.0
type SvgFontFaceFormatArg interface {
// contains filtered or unexported methods
}
SvgFontFaceFormatArg interface for font-face-format element arguments
type SvgFontFaceFormatAttrs ¶ added in v0.14.0
type SvgFontFaceFormatAttrs struct {
GlobalAttrs
String string
}
SvgFontFaceFormatAttrs holds the attributes for the font-face-format SVG element
func (*SvgFontFaceFormatAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontFaceFormatAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFontFaceNameArg ¶ added in v0.14.0
type SvgFontFaceNameArg interface {
// contains filtered or unexported methods
}
SvgFontFaceNameArg interface for font-face-name element arguments
type SvgFontFaceNameAttrs ¶ added in v0.14.0
type SvgFontFaceNameAttrs struct {
GlobalAttrs
Name string
}
SvgFontFaceNameAttrs holds the attributes for the font-face-name SVG element
func (*SvgFontFaceNameAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontFaceNameAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFontFaceSrcArg ¶ added in v0.14.0
type SvgFontFaceSrcArg interface {
// contains filtered or unexported methods
}
SvgFontFaceSrcArg interface for font-face-src element arguments
type SvgFontFaceSrcAttrs ¶ added in v0.14.0
type SvgFontFaceSrcAttrs struct {
GlobalAttrs
}
SvgFontFaceSrcAttrs holds the attributes for the font-face-src SVG element
func (*SvgFontFaceSrcAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontFaceSrcAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgFontFaceUriArg ¶ added in v0.14.0
type SvgFontFaceUriArg interface {
// contains filtered or unexported methods
}
SvgFontFaceUriArg interface for font-face-uri element arguments
type SvgFontFaceUriAttrs ¶ added in v0.14.0
type SvgFontFaceUriAttrs struct {
GlobalAttrs
ExternalResourcesRequired string
}
SvgFontFaceUriAttrs holds the attributes for the font-face-uri SVG element
func (*SvgFontFaceUriAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgFontFaceUriAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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 SvgGlyphArg ¶ added in v0.14.0
type SvgGlyphArg interface {
// contains filtered or unexported methods
}
SvgGlyphArg interface for glyph element arguments
type SvgGlyphAttrs ¶ added in v0.14.0
type SvgGlyphAttrs struct {
GlobalAttrs
AlignmentBaseline string
ArabicForm string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
D string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphName string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
HorizAdvX string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Orientation string
Overflow string
PointerEvents string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
Unicode string
UnicodeBidi string
VertAdvY string
VertOriginX string
VertOriginY string
Visibility string
WordSpacing string
WritingMode string
}
SvgGlyphAttrs holds the attributes for the glyph SVG element
func (*SvgGlyphAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgGlyphAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgGlyphRefArg ¶ added in v0.14.0
type SvgGlyphRefArg interface {
// contains filtered or unexported methods
}
SvgGlyphRefArg interface for glyphRef element arguments
type SvgGlyphRefAttrs ¶ added in v0.14.0
type SvgGlyphRefAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
Format string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
GlyphRef string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
X string
Y string
}
SvgGlyphRefAttrs holds the attributes for the glyphRef SVG element
func (*SvgGlyphRefAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgGlyphRefAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgHandlerArg ¶ added in v0.14.0
type SvgHandlerArg interface {
// contains filtered or unexported methods
}
SvgHandlerArg interface for handler element arguments
type SvgHandlerAttrs ¶ added in v0.14.0
type SvgHandlerAttrs struct {
GlobalAttrs
ExternalResourcesRequired string
Type string
}
SvgHandlerAttrs holds the attributes for the handler SVG element
func (*SvgHandlerAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgHandlerAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SvgHkernArg ¶ added in v0.14.0
type SvgHkernArg interface {
// contains filtered or unexported methods
}
SvgHkernArg interface for hkern element arguments
type SvgHkernAttrs ¶ added in v0.14.0
SvgHkernAttrs holds the attributes for the hkern SVG element
func (*SvgHkernAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgHkernAttrs) WriteAttrs(sb *strings.Builder)
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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Crossorigin string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
PreserveAspectRatio string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
Type string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
GradientTransform string
GradientUnits string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
ShapeRendering string
SpreadMethod string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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 SvgListenerArg ¶ added in v0.14.0
type SvgListenerArg interface {
// contains filtered or unexported methods
}
SvgListenerArg interface for listener element arguments
type SvgListenerAttrs ¶ added in v0.14.0
type SvgListenerAttrs struct {
GlobalAttrs
DefaultAction string
Event string
Handler string
Observer string
Phase string
Propagate string
Target string
}
SvgListenerAttrs holds the attributes for the listener SVG element
func (*SvgListenerAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgListenerAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
MarkerHeight string
MarkerUnits string
MarkerWidth string
Mask string
Opacity string
Orient string
Overflow string
PointerEvents string
PreserveAspectRatio string
RefX string
RefY string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
ViewBox string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
MaskContentUnits string
MaskUnits string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode 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
RequiredFonts string
RequiredFormats 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 SvgMissingGlyphArg ¶ added in v0.14.0
type SvgMissingGlyphArg interface {
// contains filtered or unexported methods
}
SvgMissingGlyphArg interface for missing-glyph element arguments
type SvgMissingGlyphAttrs ¶ added in v0.14.0
type SvgMissingGlyphAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
D string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
HorizAdvX string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
VertAdvY string
VertOriginX string
VertOriginY string
Visibility string
WordSpacing string
WritingMode string
}
SvgMissingGlyphAttrs holds the attributes for the missing-glyph SVG element
func (*SvgMissingGlyphAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgMissingGlyphAttrs) 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
ExternalResourcesRequired string
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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
D string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PatternContentUnits string
PatternTransform string
PatternUnits string
PointerEvents string
PreserveAspectRatio string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
ViewBox string
Visibility string
Width string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
Points string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
Points string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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 SvgPrefetchArg ¶ added in v0.14.0
type SvgPrefetchArg interface {
// contains filtered or unexported methods
}
SvgPrefetchArg interface for prefetch element arguments
type SvgPrefetchAttrs ¶ added in v0.14.0
type SvgPrefetchAttrs struct {
GlobalAttrs
Bandwidth string
MediaCharacterEncoding string
MediaContentEncodings string
MediaSize string
MediaTime string
}
SvgPrefetchAttrs holds the attributes for the prefetch SVG element
func (*SvgPrefetchAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgPrefetchAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Cx string
Cy string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
Fr string
Fx string
Fy string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
GradientTransform string
GradientUnits string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
R string
ShapeRendering string
SpreadMethod string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PathLength string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Rx string
Ry string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode 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
ExternalResourcesRequired string
Fill string
Href string
Max string
Min string
RepeatCount string
RepeatDur string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Restart string
SystemLanguage 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 SvgSolidColorArg ¶ added in v0.14.0
type SvgSolidColorArg interface {
// contains filtered or unexported methods
}
SvgSolidColorArg interface for solidColor element arguments
type SvgSolidColorAttrs ¶ added in v0.14.0
type SvgSolidColorAttrs struct {
GlobalAttrs
}
SvgSolidColorAttrs holds the attributes for the solidColor SVG element
func (*SvgSolidColorAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgSolidColorAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Offset string
Opacity string
Overflow string
PointerEvents string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
PreserveAspectRatio string
RefX string
RefY string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
TextAnchor string
TextDecoration string
TextRendering string
UnicodeBidi string
ViewBox string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y 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 SvgTbreakArg ¶ added in v0.14.0
type SvgTbreakArg interface {
// contains filtered or unexported methods
}
SvgTbreakArg interface for tbreak element arguments
type SvgTbreakAttrs ¶ added in v0.14.0
type SvgTbreakAttrs struct {
GlobalAttrs
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
SystemLanguage string
}
SvgTbreakAttrs holds the attributes for the tbreak SVG element
func (*SvgTbreakAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgTbreakAttrs) 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
Editable string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LengthAdjust string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Rotate string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
TextLength string
Transform string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Href string
ImageRendering string
Kerning string
LengthAdjust string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Method string
Opacity string
Overflow string
Path string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
ShapeRendering string
Side string
Spacing string
StartOffset string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
TextLength string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode 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 SvgTrefArg ¶ added in v0.14.0
type SvgTrefArg interface {
// contains filtered or unexported methods
}
SvgTrefArg interface for tref element arguments
type SvgTrefAttrs ¶ added in v0.14.0
type SvgTrefAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LengthAdjust string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
Rotate string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
TextLength string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
X string
Y string
}
SvgTrefAttrs holds the attributes for the tref SVG element
func (*SvgTrefAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgTrefAttrs) 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
type SvgTspanAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
Dx string
Dy string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
ImageRendering string
Kerning string
LengthAdjust string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
Rotate string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
TextLength string
UnicodeBidi string
Visibility string
WordSpacing string
WritingMode string
X string
Y string
}
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 SvgUnknownArg ¶ added in v0.14.0
type SvgUnknownArg interface {
// contains filtered or unexported methods
}
SvgUnknownArg interface for unknown element arguments
type SvgUnknownAttrs ¶ added in v0.14.0
type SvgUnknownAttrs struct {
GlobalAttrs
RequiredExtensions string
SystemLanguage string
}
SvgUnknownAttrs holds the attributes for the unknown SVG element
func (*SvgUnknownAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgUnknownAttrs) 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
type SvgUseAttrs struct {
GlobalAttrs
AlignmentBaseline string
BaselineShift string
Clip string
ClipPath string
ClipRule string
Color string
ColorInterpolation string
ColorInterpolationFilters string
ColorProfile string
ColorRendering string
Cursor string
Direction string
Display string
DominantBaseline string
EnableBackground string
ExternalResourcesRequired string
Fill string
FillOpacity string
FillRule string
Filter string
FloodColor string
FloodOpacity string
FocusHighlight string
Focusable string
FontFamily string
FontSize string
FontSizeAdjust string
FontStretch string
FontStyle string
FontVariant string
FontWeight string
GlyphOrientationHorizontal string
GlyphOrientationVertical string
Height string
Href string
ImageRendering string
Kerning string
LetterSpacing string
LightingColor string
MarkerEnd string
MarkerMid string
MarkerStart string
Mask string
Opacity string
Overflow string
PointerEvents string
RequiredExtensions string
RequiredFeatures string
RequiredFonts string
RequiredFormats string
ShapeRendering string
StopColor string
StopOpacity string
Stroke string
StrokeDasharray string
StrokeDashoffset string
StrokeLinecap string
StrokeLinejoin string
StrokeMiterlimit string
StrokeOpacity string
StrokeWidth string
SystemLanguage string
TextAnchor string
TextDecoration string
TextRendering string
Transform string
UnicodeBidi string
Visibility string
Width string
WordSpacing string
WritingMode string
X string
Y string
}
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
ExternalResourcesRequired string
PreserveAspectRatio string
ViewBox string
ViewTarget string
ZoomAndPan 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 SvgVkernArg ¶ added in v0.14.0
type SvgVkernArg interface {
// contains filtered or unexported methods
}
SvgVkernArg interface for vkern element arguments
type SvgVkernAttrs ¶ added in v0.14.0
SvgVkernAttrs holds the attributes for the vkern SVG element
func (*SvgVkernAttrs) WriteAttrs ¶ added in v0.14.0
func (a *SvgVkernAttrs) WriteAttrs(sb *strings.Builder)
WriteAttrs writes the SVG attributes to the string builder
type SyncBehaviorDefaultOpt ¶ added in v0.14.0
type SyncBehaviorDefaultOpt struct {
// contains filtered or unexported fields
}
func ASyncBehaviorDefault ¶ added in v0.14.0
func ASyncBehaviorDefault(v string) SyncBehaviorDefaultOpt
type SyncBehaviorOpt ¶ added in v0.14.0
type SyncBehaviorOpt struct {
// contains filtered or unexported fields
}
func ASyncBehavior ¶ added in v0.14.0
func ASyncBehavior(v string) SyncBehaviorOpt
type SyncMasterOpt ¶ added in v0.14.0
type SyncMasterOpt struct {
// contains filtered or unexported fields
}
func ASyncMaster ¶ added in v0.14.0
func ASyncMaster(v string) SyncMasterOpt
type SyncToleranceDefaultOpt ¶ added in v0.14.0
type SyncToleranceDefaultOpt struct {
// contains filtered or unexported fields
}
func ASyncToleranceDefault ¶ added in v0.14.0
func ASyncToleranceDefault(v string) SyncToleranceDefaultOpt
type SyncToleranceOpt ¶ added in v0.14.0
type SyncToleranceOpt struct {
// contains filtered or unexported fields
}
func ASyncTolerance ¶ added in v0.14.0
func ASyncTolerance(v string) SyncToleranceOpt
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
}
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
}
func (*TbodyAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TbodyAttrs) WriteAttrs(sb *strings.Builder)
type TdAttrs ¶
type TdAttrs struct {
Global GlobalAttrs
Colspan string
Headers string
Rowspan 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 bool
Shadowrootcustomelementregistry bool
Shadowrootdelegatesfocus bool
Shadowrootmode string
Shadowrootserializable bool
}
func (*TemplateAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TemplateAttrs) WriteAttrs(sb *strings.Builder)
type TextAnchorOpt ¶
type TextAnchorOpt struct {
// contains filtered or unexported fields
}
func ATextAnchor ¶ added in v0.14.0
func ATextAnchor(v string) TextAnchorOpt
type TextDecorationOpt ¶ added in v0.14.0
type TextDecorationOpt struct {
// contains filtered or unexported fields
}
func ATextDecoration ¶ added in v0.14.0
func ATextDecoration(v string) TextDecorationOpt
type TextLengthOpt ¶
type TextLengthOpt struct {
// contains filtered or unexported fields
}
func ATextLength ¶ added in v0.13.0
func ATextLength(v string) TextLengthOpt
type TextRenderingOpt ¶ added in v0.14.0
type TextRenderingOpt struct {
// contains filtered or unexported fields
}
func ATextRendering ¶ added in v0.14.0
func ATextRendering(v string) TextRenderingOpt
type TextareaArg ¶
type TextareaArg interface {
// contains filtered or unexported methods
}
type TextareaAttrs ¶
type TextareaAttrs struct {
Global GlobalAttrs
Autocomplete string
Cols string
Dirname string
Maxlength string
Minlength 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
}
func (*TfootAttrs) WriteAttrs ¶ added in v0.13.0
func (a *TfootAttrs) WriteAttrs(sb *strings.Builder)
type ThAttrs ¶
type ThAttrs struct {
Global GlobalAttrs
Abbr string
Colspan string
Headers string
Rowspan string
Scope string
}
func (*ThAttrs) WriteAttrs ¶ added in v0.13.0
type TheadAttrs ¶
type TheadAttrs struct {
Global GlobalAttrs
}
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 TimelineBeginOpt ¶ added in v0.14.0
type TimelineBeginOpt struct {
// contains filtered or unexported fields
}
func ATimelineBegin ¶ added in v0.14.0
func ATimelineBegin(v string) TimelineBeginOpt
type TitleAttrs ¶
type TitleAttrs struct {
Global GlobalAttrs
}
func (*TitleAttrs) WriteAttrs ¶ added in v0.14.0
func (a *TitleAttrs) WriteAttrs(sb *strings.Builder)
type TrAttrs ¶
type TrAttrs struct {
Global GlobalAttrs
}
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 TransformOpt ¶
type TransformOpt struct {
// contains filtered or unexported fields
}
func ATransform ¶ added in v0.14.0
func ATransform(v string) TransformOpt
type UAttrs ¶
type UAttrs struct {
Global GlobalAttrs
}
func (*UAttrs) WriteAttrs ¶ added in v0.14.0
type UlAttrs ¶
type UlAttrs struct {
Global GlobalAttrs
}
func (*UlAttrs) WriteAttrs ¶ added in v0.13.0
type UnderlinePositionOpt ¶ added in v0.14.0
type UnderlinePositionOpt struct {
// contains filtered or unexported fields
}
func AUnderlinePosition ¶ added in v0.14.0
func AUnderlinePosition(v string) UnderlinePositionOpt
type UnderlineThicknessOpt ¶ added in v0.14.0
type UnderlineThicknessOpt struct {
// contains filtered or unexported fields
}
func AUnderlineThickness ¶ added in v0.14.0
func AUnderlineThickness(v string) UnderlineThicknessOpt
type UnicodeBidiOpt ¶ added in v0.14.0
type UnicodeBidiOpt struct {
// contains filtered or unexported fields
}
func AUnicodeBidi ¶ added in v0.14.0
func AUnicodeBidi(v string) UnicodeBidiOpt
type UnicodeOpt ¶ added in v0.14.0
type UnicodeOpt struct {
// contains filtered or unexported fields
}
func AUnicode ¶ added in v0.14.0
func AUnicode(v string) UnicodeOpt
type UnicodeRangeOpt ¶ added in v0.14.0
type UnicodeRangeOpt struct {
// contains filtered or unexported fields
}
func AUnicodeRange ¶ added in v0.14.0
func AUnicodeRange(v string) UnicodeRangeOpt
type UnitsPerEmOpt ¶ added in v0.14.0
type UnitsPerEmOpt struct {
// contains filtered or unexported fields
}
func AUnitsPerEm ¶ added in v0.14.0
func AUnitsPerEm(v string) UnitsPerEmOpt
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 VAlphabeticOpt ¶ added in v0.14.0
type VAlphabeticOpt struct {
// contains filtered or unexported fields
}
func AVAlphabetic ¶ added in v0.14.0
func AVAlphabetic(v string) VAlphabeticOpt
type VHangingOpt ¶ added in v0.14.0
type VHangingOpt struct {
// contains filtered or unexported fields
}
func AVHanging ¶ added in v0.14.0
func AVHanging(v string) VHangingOpt
type VIdeographicOpt ¶ added in v0.14.0
type VIdeographicOpt struct {
// contains filtered or unexported fields
}
func AVIdeographic ¶ added in v0.14.0
func AVIdeographic(v string) VIdeographicOpt
type VMathematicalOpt ¶ added in v0.14.0
type VMathematicalOpt struct {
// contains filtered or unexported fields
}
func AVMathematical ¶ added in v0.14.0
func AVMathematical(v string) VMathematicalOpt
type ValuesOpt ¶ added in v0.13.0
type ValuesOpt struct {
// contains filtered or unexported fields
}
type VarAttrs ¶
type VarAttrs struct {
Global GlobalAttrs
}
func (*VarAttrs) WriteAttrs ¶ added in v0.14.0
type VersionOpt ¶
type VersionOpt struct {
// contains filtered or unexported fields
}
func AVersion ¶ added in v0.13.0
func AVersion(v string) VersionOpt
type VertAdvYOpt ¶ added in v0.14.0
type VertAdvYOpt struct {
// contains filtered or unexported fields
}
func AVertAdvY ¶ added in v0.14.0
func AVertAdvY(v string) VertAdvYOpt
type VertOriginXOpt ¶ added in v0.14.0
type VertOriginXOpt struct {
// contains filtered or unexported fields
}
func AVertOriginX ¶ added in v0.14.0
func AVertOriginX(v string) VertOriginXOpt
type VertOriginYOpt ¶ added in v0.14.0
type VertOriginYOpt struct {
// contains filtered or unexported fields
}
func AVertOriginY ¶ added in v0.14.0
func AVertOriginY(v string) VertOriginYOpt
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 ViewTargetOpt ¶ added in v0.14.0
type ViewTargetOpt struct {
// contains filtered or unexported fields
}
func AViewTarget ¶ added in v0.14.0
func AViewTarget(v string) ViewTargetOpt
type VisibilityOpt ¶ added in v0.14.0
type VisibilityOpt struct {
// contains filtered or unexported fields
}
func AVisibility ¶ added in v0.14.0
func AVisibility(v string) VisibilityOpt
type WbrAttrs ¶ added in v0.14.0
type WbrAttrs struct {
Global GlobalAttrs
}
func (*WbrAttrs) WriteAttrs ¶ added in v0.14.0
type WidthsOpt ¶ added in v0.14.0
type WidthsOpt struct {
// contains filtered or unexported fields
}
type WordSpacingOpt ¶ added in v0.14.0
type WordSpacingOpt struct {
// contains filtered or unexported fields
}
func AWordSpacing ¶ added in v0.14.0
func AWordSpacing(v string) WordSpacingOpt
type WritingModeOpt ¶ added in v0.14.0
type WritingModeOpt struct {
// contains filtered or unexported fields
}
func AWritingMode ¶ added in v0.14.0
func AWritingMode(v string) WritingModeOpt
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 XHeightOpt ¶ added in v0.14.0
type XHeightOpt struct {
// contains filtered or unexported fields
}
func AXHeight ¶ added in v0.14.0
func AXHeight(v string) XHeightOpt
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
type ZoomAndPanOpt ¶
type ZoomAndPanOpt struct {
// contains filtered or unexported fields
}
func AZoomAndPan ¶ added in v0.14.0
func AZoomAndPan(v string) ZoomAndPanOpt
Source Files
¶
- assets.go
- attrs.go
- core_content.go
- core_global.go
- core_node.go
- svg_altGlyph.go
- svg_altGlyphDef.go
- svg_altGlyphItem.go
- svg_animate.go
- svg_animateColor.go
- svg_animateMotion.go
- svg_animateTransform.go
- svg_animation.go
- svg_attrs.go
- svg_circle.go
- svg_clipPath.go
- svg_color-profile.go
- svg_cursor.go
- svg_defs.go
- svg_desc.go
- svg_discard.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_font-face-format.go
- svg_font-face-name.go
- svg_font-face-src.go
- svg_font-face-uri.go
- svg_font-face.go
- svg_font.go
- svg_foreignObject.go
- svg_g.go
- svg_glyph.go
- svg_glyphRef.go
- svg_handler.go
- svg_hkern.go
- svg_image.go
- svg_line.go
- svg_linearGradient.go
- svg_listener.go
- svg_marker.go
- svg_mask.go
- svg_metadata.go
- svg_missing-glyph.go
- svg_mpath.go
- svg_path.go
- svg_pattern.go
- svg_polygon.go
- svg_polyline.go
- svg_prefetch.go
- svg_radialGradient.go
- svg_rect.go
- svg_set.go
- svg_solidColor.go
- svg_stop.go
- svg_svg.go
- svg_switch.go
- svg_symbol.go
- svg_tbreak.go
- svg_text.go
- svg_textPath.go
- svg_tref.go
- svg_tspan.go
- svg_unknown.go
- svg_use.go
- svg_view.go
- svg_vkern.go
- tag_a.go
- tag_abbr.go
- tag_address.go
- tag_area.go
- tag_article.go
- tag_aside.go
- tag_audio.go
- tag_b.go
- tag_base.go
- tag_bdi.go
- tag_bdo.go
- tag_blockquote.go
- tag_body.go
- tag_br.go
- tag_button.go
- tag_canvas.go
- tag_caption.go
- tag_cite.go
- tag_code.go
- tag_col.go
- tag_colgroup.go
- tag_data.go
- tag_datalist.go
- tag_dd.go
- tag_del.go
- tag_details.go
- tag_dfn.go
- tag_dialog.go
- tag_div.go
- tag_dl.go
- tag_dt.go
- tag_em.go
- tag_embed.go
- tag_fieldset.go
- tag_figcaption.go
- tag_figure.go
- tag_footer.go
- tag_form.go
- tag_h1.go
- tag_h2.go
- tag_h3.go
- tag_h4.go
- tag_h5.go
- tag_h6.go
- tag_head.go
- tag_header.go
- tag_hgroup.go
- tag_hr.go
- tag_html.go
- tag_i.go
- tag_iframe.go
- tag_img.go
- tag_input.go
- tag_ins.go
- tag_kbd.go
- tag_label.go
- tag_legend.go
- tag_li.go
- tag_link.go
- tag_main.go
- tag_map.go
- tag_mark.go
- tag_math.go
- tag_menu.go
- tag_meta.go
- tag_meter.go
- tag_nav.go
- tag_noscript.go
- tag_object.go
- tag_ol.go
- tag_optgroup.go
- tag_option.go
- tag_output.go
- tag_p.go
- tag_picture.go
- tag_pre.go
- tag_progress.go
- tag_q.go
- tag_rp.go
- tag_rt.go
- tag_ruby.go
- tag_s.go
- tag_samp.go
- tag_script.go
- tag_search.go
- tag_section.go
- tag_select.go
- tag_selectedcontent.go
- tag_slot.go
- tag_small.go
- tag_source.go
- tag_span.go
- tag_strong.go
- tag_style.go
- tag_sub.go
- tag_summary.go
- tag_sup.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_title.go
- tag_tr.go
- tag_track.go
- tag_u.go
- tag_ul.go
- tag_var.go
- tag_video.go
- tag_wbr.go