Documentation ¶
Overview ¶
This file is computer-generated
This file is computer-generated
Index ¶
- Constants
- func Add(stylesheet string) seed.Option
- func After(rules ...Rule) seed.Option
- func FontSynthesis(weight, style bool) fontSynthesisValue
- func Hover(rules ...Rule) seed.Option
- func RegisterRenderer(r Renderer)
- func Render(root seed.Seed) []byte
- func Require(path string, contents string) seed.Option
- func Select(selector string, rules ...Rule) seed.Option
- func Selector(c seed.Seed) string
- func SetSelector(selector string) seed.Option
- func Stylesheets(root seed.Seed) map[string]string
- type AnimationName
- type Duration
- type FontFace
- type Int
- type Number
- type OrderedMap
- type Pair
- type RGB
- type Renderer
- type Rule
- func Set(property, value string) Rule
- func SetAlignContent(value alignContentValue) Rule
- func SetAlignItems(value alignItemsValue) Rule
- func SetAlignSelf(value alignSelfValue) Rule
- func SetAll(value allValue) Rule
- func SetAnimation(value animationValue) Rule
- func SetAnimationDelay(value durationValue) Rule
- func SetAnimationDirection(value animationDirectionValue) Rule
- func SetAnimationDuration(value durationValue) Rule
- func SetAnimationFillMode(value animationFillModeValue) Rule
- func SetAnimationIterationCount(value animationIterationCountValue) Rule
- func SetAnimationName(value animationNameValue) Rule
- func SetAnimationPlayState(value animationPlayStateValue) Rule
- func SetAnimationTimingFunction(value animationTimingFunctionValue) Rule
- func SetBackfaceVisibility(value backfaceVisibilityValue) Rule
- func SetBackground(value backgroundValue) Rule
- func SetBackgroundAttachment(value backgroundAttachmentValue) Rule
- func SetBackgroundBlendMode(value backgroundBlendModeValue) Rule
- func SetBackgroundClip(value boxValue) Rule
- func SetBackgroundColor(value colorValue) Rule
- func SetBackgroundImage(value imageValue) Rule
- func SetBackgroundOrigin(value backgroundOriginValue) Rule
- func SetBackgroundPosition(value unitAndUnitValue) Rule
- func SetBackgroundRepeat(value backgroundRepeatValue) Rule
- func SetBackgroundSize(value sizeValue) Rule
- func SetBorder(value borderValue) Rule
- func SetBorderBottom(value borderBottomValue) Rule
- func SetBorderBottomColor(value colorValue) Rule
- func SetBorderBottomLeftRadius(value unitValue) Rule
- func SetBorderBottomRightRadius(value unitValue) Rule
- func SetBorderBottomStyle(value borderStyleValue) Rule
- func SetBorderBottomWidth(value thicknessValue) Rule
- func SetBorderCollapse(value borderCollapseValue) Rule
- func SetBorderColor(value colorValue) Rule
- func SetBorderImage(value borderImageValue) Rule
- func SetBorderImageOutset(value uintOrUnitValue) Rule
- func SetBorderImageRepeat(value borderImageRepeatValue) Rule
- func SetBorderImageSlice(value borderImageSliceValue) Rule
- func SetBorderImageSource(value imageValue) Rule
- func SetBorderImageWidth(value sizeValue) Rule
- func SetBorderLeft(value borderLeftValue) Rule
- func SetBorderLeftColor(value sizeValue) Rule
- func SetBorderLeftStyle(value borderStyleValue) Rule
- func SetBorderLeftWidth(value thicknessValue) Rule
- func SetBorderRadius(value borderRadiusValue) Rule
- func SetBorderRight(value borderRightValue) Rule
- func SetBorderRightColor(value colorValue) Rule
- func SetBorderRightStyle(value borderStyleValue) Rule
- func SetBorderRightWidth(value thicknessValue) Rule
- func SetBorderSpacing(value unitValue) Rule
- func SetBorderStyle(value borderStyleValue) Rule
- func SetBorderTop(value borderTopValue) Rule
- func SetBorderTopColor(value colorValue) Rule
- func SetBorderTopLeftRadius(value borderTopLeftRadiusValue) Rule
- func SetBorderTopRightRadius(value borderTopRightRadiusValue) Rule
- func SetBorderTopStyle(value borderStyleValue) Rule
- func SetBorderTopWidth(value thicknessValue) Rule
- func SetBorderWidth(value thicknessValue) Rule
- func SetBottom(value unitOrAutoValue) Rule
- func SetBoxDecorationBreak(value boxDecorationBreakValue) Rule
- func SetBoxShadow(value shadowValue) Rule
- func SetBoxSizing(value boxValue) Rule
- func SetBreakAfter(value breakValue) Rule
- func SetBreakBefore(value breakValue) Rule
- func SetBreakInside(value breakInsideValue) Rule
- func SetCaptionSide(value captionSideValue) Rule
- func SetClear(value clearValue) Rule
- func SetClip(value clipValue) Rule
- func SetColor(value colorValue) Rule
- func SetColumnCount(value columnCountValue) Rule
- func SetColumnFill(value columnFillValue) Rule
- func SetColumnGap(value columnGapValue) Rule
- func SetColumnRule(value columnRuleValue) Rule
- func SetColumnRuleColor(value colorValue) Rule
- func SetColumnRuleStyle(value borderStyleValue) Rule
- func SetColumnRuleWidth(value columnRuleWidthValue) Rule
- func SetColumnSpan(value unitOrAutoValue) Rule
- func SetColumnWidth(value columnWidthValue) Rule
- func SetColumns(value columnsValue) Rule
- func SetContent(value contentValue) Rule
- func SetCounterIncrement(value counterIncrementValue) Rule
- func SetCounterReset(value nameValue) Rule
- func SetCursor(value cursorValue) Rule
- func SetDirection(value directionValue) Rule
- func SetDisplay(value displayValue) Rule
- func SetEmptyCells(value emptyCellsValue) Rule
- func SetFilter(value filterValue) Rule
- func SetFlex(value flexValue) Rule
- func SetFlexBasis(value unitOrAutoValue) Rule
- func SetFlexDirection(value flexDirectionValue) Rule
- func SetFlexFlow(value flexFlowValue) Rule
- func SetFlexGrow(value numberValue) Rule
- func SetFlexShrink(value numberValue) Rule
- func SetFlexWrap(value flexWrapValue) Rule
- func SetFloat(value floatValue) Rule
- func SetFont(value fontValue) Rule
- func SetFontDisplay(value fontDisplayValue) Rule
- func SetFontFamily(value fontFamilyValue) Rule
- func SetFontFeatureSettings(value fontFeatureSettingsValue) Rule
- func SetFontKerning(value normalOrAutoValue) Rule
- func SetFontLanguageOverride(value fontLanguageOverrideValue) Rule
- func SetFontSize(value fontSizeValue) Rule
- func SetFontSizeAdjust(value fontSizeAdjustValue) Rule
- func SetFontStretch(value fontStretchValue) Rule
- func SetFontStyle(value fontStyleValue) Rule
- func SetFontSynthesis(value fontSynthesisValue) Rule
- func SetFontVariant(value fontVariantValue) Rule
- func SetFontVariantAlternates(value fontVariantAlternatesValue) Rule
- func SetFontVariantCaps(value fontVariantCapsValue) Rule
- func SetFontVariantEastAsian(value fontVariantEastAsianValue) Rule
- func SetFontVariantLigatures(value fontVariantLigaturesValue) Rule
- func SetFontVariantNumeric(value fontVariantNumericValue) Rule
- func SetFontVariantPosition(value fontVariantPositionValue) Rule
- func SetFontWeight(value fontWeightValue) Rule
- func SetGrid(value gridValue) Rule
- func SetGridArea(value gridAreaValue) Rule
- func SetGridAutoColumns(value gridAutoValue) Rule
- func SetGridAutoFlow(value gridAutoFlowValue) Rule
- func SetGridAutoRows(value gridAutoValue) Rule
- func SetGridColumn(value gridColumnValue) Rule
- func SetGridColumnEnd(value gridStopValue) Rule
- func SetGridColumnGap(value unitValue) Rule
- func SetGridColumnStart(value gridStopValue) Rule
- func SetGridGap(value gridGapValue) Rule
- func SetGridRow(value gridRowValue) Rule
- func SetGridRowEnd(value gridStopValue) Rule
- func SetGridRowGap(value unitValue) Rule
- func SetGridRowStart(value gridStopValue) Rule
- func SetGridTemplate(value gridTemplateValue) Rule
- func SetGridTemplateAreas(names []string) Rule
- func SetGridTemplateColumns(values []gridTemplateValue) Rule
- func SetGridTemplateRows(values []gridTemplateValue) Rule
- func SetHangingPunctuation(value hangingPunctuationValue) Rule
- func SetHeight(value unitOrAutoValue) Rule
- func SetHyphens(value hyphensValue) Rule
- func SetImageRendering(value imageRenderingValue) Rule
- func SetIsolation(value isolationValue) Rule
- func SetJustifyContent(value justifyContentValue) Rule
- func SetLeft(value unitOrAutoValue) Rule
- func SetLetterSpacing(value normalOrUnitOrAutoValue) Rule
- func SetLineBreak(value lineBreakValue) Rule
- func SetLineHeight(value lineHeightValue) Rule
- func SetListStyle(value listStyleValue) Rule
- func SetListStyleImage(value imageValue) Rule
- func SetListStylePosition(value listStylePositionValue) Rule
- func SetListStyleType(value listStyleTypeValue) Rule
- func SetMargin(value marginValue) Rule
- func SetMarginBottom(value unitOrAutoValue) Rule
- func SetMarginLeft(value unitOrAutoValue) Rule
- func SetMarginRight(value unitOrAutoValue) Rule
- func SetMarginTop(value unitOrAutoValue) Rule
- func SetMaxHeight(value unitOrNoneValue) Rule
- func SetMaxWidth(value unitOrNoneValue) Rule
- func SetMinHeight(value unitOrNoneValue) Rule
- func SetMinWidth(value unitOrNoneValue) Rule
- func SetMixBlendMode(value mixBlendModeValue) Rule
- func SetObjectFit(value objectFitValue) Rule
- func SetObjectPosition(value unitAndUnitValue) Rule
- func SetOpacity(value numberValue) Rule
- func SetOrder(value orderValue) Rule
- func SetOrphans(value uintValue) Rule
- func SetOutline(value outlineValue) Rule
- func SetOutlineColor(value colorValue) Rule
- func SetOutlineOffset(value unitValue) Rule
- func SetOutlineStyle(value borderStyleValue) Rule
- func SetOutlineWidth(value thicknessValue) Rule
- func SetOverflow(value overflowValue) Rule
- func SetOverflowWrap(value overflowWrapValue) Rule
- func SetOverflowX(value overflowValue) Rule
- func SetOverflowY(value overflowValue) Rule
- func SetPadding(value paddingValue) Rule
- func SetPaddingBottom(value unitValue) Rule
- func SetPaddingLeft(value unitValue) Rule
- func SetPaddingRight(value unitValue) Rule
- func SetPaddingTop(value unitValue) Rule
- func SetPageBreakAfter(value pageBreakValue) Rule
- func SetPageBreakBefore(value pageBreakValue) Rule
- func SetPageBreakInside(value pageBreakInsideValue) Rule
- func SetPerspective(value unitOrNoneValue) Rule
- func SetPerspectiveOrigin(value unitAndUnitValue) Rule
- func SetPointerEvents(value pointerEventsValue) Rule
- func SetPosition(value positionValue) Rule
- func SetQuotes(quotes []string) Rule
- func SetResize(value resizeValue) Rule
- func SetRight(value unitOrAutoValue) Rule
- func SetScrollBehavior(value scrollBehaviorValue) Rule
- func SetTabSize(value numberValue) Rule
- func SetTableLayout(value tableLayoutValue) Rule
- func SetTextAlign(value textAlignValue) Rule
- func SetTextAlignLast(value textAlignLastValue) Rule
- func SetTextCombineUpright(value textCombineUprightValue) Rule
- func SetTextDecoration(value textDecorationValue) Rule
- func SetTextDecorationColor(value colorValue) Rule
- func SetTextDecorationLine(value textDecorationLineValue) Rule
- func SetTextDecorationStyle(value textDecorationStyleValue) Rule
- func SetTextIndent(value unitValue) Rule
- func SetTextJustify(value textJustifyValue) Rule
- func SetTextOrientation(value textOrientationValue) Rule
- func SetTextOverflow(value textOverflowValue) Rule
- func SetTextShadow(value shadowValue) Rule
- func SetTextTransform(value textTransformValue) Rule
- func SetTextUnderlinePosition(value textUnderlinePositionValue) Rule
- func SetTop(value unitOrAutoValue) Rule
- func SetTransform(value transformValue) Rule
- func SetTransformOrigin(p positionValue, z ...unitValue) Rule
- func SetTransformStyle(value transformStyleValue) Rule
- func SetTransition(value transitionValue) Rule
- func SetTransitionDelay(value transitionDelayValue) Rule
- func SetTransitionDuration(value transitionDurationValue) Rule
- func SetTransitionProperty(properties ...interface{}) Rule
- func SetTransitionTimingFunction(value transitionTimingFunctionValue) Rule
- func SetUnicodeBidi(value unicodeBidiValue) Rule
- func SetUserSelect(value userSelectValue) Rule
- func SetVerticalAlign(value verticalAlignValue) Rule
- func SetVisibility(value visibilityValue) Rule
- func SetWhiteSpace(value uintValue) Rule
- func SetWidows(value widowsValue) Rule
- func SetWidth(value unitOrAutoValue) Rule
- func SetWillChange(properties ...interface{}) Rule
- func SetWordBreak(value wordBreakValue) Rule
- func SetWordSpacing(value wordSpacingValue) Rule
- func SetWordWrap(value wordWrapValue) Rule
- func SetWritingMode(value writingModeValue) Rule
- func SetZIndex(value integerOrAutoValue) Rule
- type Rules
- type Style
- type Unit
Constants ¶
const Absolute absolute = "absolute"
const Alias alias = "alias"
const All all = "all"
const AllPetiteCaps allPetiteCaps = "all-petite-caps"
const AllScroll allScroll = "all-scroll"
const AllSmallCaps allSmallCaps = "all-small-caps"
const AllowEnd allowEnd = "allow-end"
const Alternate alternate = "alternate"
const AlternateReverse alternateReverse = "alternate-reverse"
const Armenian armenian = "armenian"
const Auto auto = "auto"
const Avoid avoid = "avoid"
const AvoidColumn avoidColumn = "avoid-column"
const AvoidPage avoidPage = "avoid-page"
const Backwards backwards = "backwards"
const Balance balance = "balance"
const Baseline baseline = "baseline"
const BidiOverride bidiOverride = "bidi-override"
const Blink blink = "blink"
const Block block = "block"
const Bold bold = "bold"
const Bolder bolder = "bolder"
const Both both = "both"
const Bottom bottom = "bottom"
const BreakAll breakAll = "break-all"
const BreakWord breakWord = "break-word"
const Capitalize capitalize = "capitalize"
const Cell cell = "cell"
const Center center = "center"
const Circle circle = "circle"
const Clip clip = "clip"
const Clone clone = "clone"
const CloseQuote closeQuote = "close-quote"
const ColResize colResize = "col-resize"
const Collapse collapse = "collapse"
const Color color = "color"
const ColorBurn colorBurn = "color-burn"
const ColorDodge colorDodge = "color-dodge"
const Column column = "column"
const ColumnReverse columnReverse = "column-reverse"
const Compact compact = "compact"
const Condensed condensed = "condensed"
const Contain contain = "contain"
const Container container = "container"
const ContextMenu contextMenu = "context-menu"
const Copy copy = "copy"
const Cover cover = "cover"
const CrispEdges crispEdges = "crisp-edges"
const Crosshair crosshair = "crosshair"
const CurrentColor currentColor = "currentColor"
const Darken darken = "darken"
const Dashed dashed = "dashed"
const Decimal decimal = "decimal"
const DecimalLeadingZero decimalLeadingZero = "decimal-leading-zero"
const Default defaultValue = "default"
const Dense dense = "dense"
const Difference difference = "difference"
const Disc disc = "disc"
const Distribute distribute = "distribute"
const Dotted dotted = "dotted"
const Double double = "double"
const EResize eResize = "e-resize"
const Ellipsis ellipsis = "ellipsis"
const Embed embed = "embed"
const End end = "end"
const EwResize ewResize = "ew-resize"
const Exclusion exclusion = "exclusion"
const Expanded expanded = "expanded"
const ExtraCondensed extraCondensed = "extra-condensed"
const ExtraExpanded extraExpanded = "extra-expanded"
const Fallback fallback = "fallback"
const Fill fill = "fill"
const First first = "first"
const Fixed fixed = "fixed"
const Flat flat = "flat"
const Flex flex = "flex"
const FlexEnd flexEnd = "flex-end"
const FlexStart flexStart = "flex-start"
const ForceEnd forceEnd = "force-end"
const Forwards forwards = "forwards"
const FullWidth fullWidth = "full-width"
const Georgian georgian = "georgian"
const Groove groove = "groove"
const HardLight hardLight = "hard-light"
const Help help = "help"
const Hidden hidden = "hidden"
const Hide hide = "hide"
const HistoricalForms historicalForms = "historical-forms"
const Horizontal horizontal = "horizontal"
const HorizontalTb horizontalTb = "horizontal-tb"
const Hue hue = "hue"
const Icon icon = "icon"
const Infinite infinite = "infinite"
const Inherit inherit = "inherit"
const Initial initial = "initial"
const Inline inline = "inline"
const InlineBlock inlineBlock = "inline-block"
const InlineFlex inlineFlex = "inline-flex"
const InlineTable inlineTable = "inline-table"
const Inset inset = "inset"
const Inside inside = "inside"
const InterWord interWord = "inter-word"
const Invert invert = "invert"
const Isolate isolate = "isolate"
const Italic italic = "italic"
const Justify justify = "justify"
const KeepAll keepAll = "keep-all"
const Large large = "large"
const Larger larger = "larger"
const Last last = "last"
const Left left = "left"
const Length length = "length"
const Lighten lighten = "lighten"
const Lighter lighter = "lighter"
const LineThrough lineThrough = "line-through"
const ListItem listItem = "list-item"
const Local local = "local"
const Loose loose = "loose"
const LowerAlpha lowerAlpha = "lower-alpha"
const LowerGreek lowerGreek = "lower-greek"
const LowerLatin lowerLatin = "lower-latin"
const LowerRoman lowerRoman = "lower-roman"
const Lowercase lowercase = "lowercase"
const Ltr ltr = "ltr"
const Luminosity luminosity = "luminosity"
const MatchParent matchParent = "match-parent"
const Maunal maunal = "maunal"
const Medium medium = "medium"
const Middle middle = "middle"
const Mixed mixed = "mixed"
const Move move = "move"
const Multiply multiply = "multiply"
const NResize nResize = "n-resize"
const NeResize neResize = "ne-resize"
const NeswResize neswResize = "nesw-resize"
const NoCloseQuote noCloseQuote = "no-close-quote"
const NoDrop noDrop = "no-drop"
const NoOpenQuote noOpenQuote = "no-open-quote"
const NoRepeat noRepeat = "no-repeat"
const None none = "none"
const Normal normal = "normal"
const NotAllowed notAllowed = "not-allowed"
const Nowrap nowrap = "nowrap"
const NsResize nsResize = "ns-resize"
const NwResize nwResize = "nw-resize"
const NwseResize nwseResize = "nwse-resize"
const Oblique oblique = "oblique"
const OpenQuote openQuote = "open-quote"
const Optional optional = "optional"
const Outset outset = "outset"
const Outside outside = "outside"
const Overlay overlay = "overlay"
const Overline overline = "overline"
const Page page = "page"
const Paused paused = "paused"
const PetiteCaps petiteCaps = "petite-caps"
const Pixelated pixelated = "pixelated"
const Pointer pointer = "pointer"
const Pre pre = "pre"
const PreLine preLine = "pre-line"
const PreWrap preWrap = "pre-wrap"
const Preserve3d preserve3d = "preserve-3d"
const Progress progress = "progress"
const Relative relative = "relative"
const Repeat repeat = "repeat"
const RepeatX repeatX = "repeat-x"
const RepeatY repeatY = "repeat-y"
const Reverse reverse = "reverse"
const Ridge ridge = "ridge"
const Right right = "right"
const Round round = "round"
const Row row = "row"
const RowResize rowResize = "row-resize"
const RowReverse rowReverse = "row-reverse"
const Rtl rtl = "rtl"
const RunIn runIn = "run-in"
const Running running = "running"
const SResize sResize = "s-resize"
const Saturation saturation = "saturation"
const ScaleDown scaleDown = "scale-down"
const Screen screen = "screen"
const Scroll scroll = "scroll"
const SeResize seResize = "se-resize"
const SemiCondensed semiCondensed = "semi-condensed"
const SemiExpanded semiExpanded = "semi-expanded"
const Seperate seperate = "seperate"
const Shadow shadow = "shadow"
const Show show = "show"
const Sideways sideways = "sideways"
const SidewaysLeft sidewaysLeft = "sideways-left"
const SidewaysRight sidewaysRight = "sideways-right"
const Slice slice = "slice"
const Small small = "small"
const SmallCaps smallCaps = "small-caps"
const Smaller smaller = "smaller"
const Smooth smooth = "smooth"
const SoftLight softLight = "soft-light"
const Solid solid = "solid"
const Space space = "space"
const SpaceAround spaceAround = "space-around"
const SpaceBetween spaceBetween = "space-between"
const SpaceEvenly spaceEvenly = "space-evenly"
const Square square = "square"
const Start start = "start"
const Static static = "static"
const Sticky sticky = "sticky"
const Stretch stretch = "stretch"
const Strict strict = "strict"
const StyleProperty styleProperty = "style"
const Sub sub = "sub"
const Super super = "super"
const SwResize swResize = "sw-resize"
const Swap swap = "swap"
const Table table = "table"
const TableCaption tableCaption = "table-caption"
const TableCell tableCell = "table-cell"
const TableColumn tableColumn = "table-column"
const TableColumnGroup tableColumnGroup = "table-column-group"
const TableHeaderGroup tableHeaderGroup = "table-header-group"
const TableRow tableRow = "table-row"
const TableRowGroup tableRowGroup = "table-row-group"
const Text text = "text"
const TextBottom textBottom = "text-bottom"
const TextTop textTop = "text-top"
const Thick thick = "thick"
const Thin thin = "thin"
const TitlingCaps titlingCaps = "titling-caps"
const Top top = "top"
const Transparent transparent = "transparent"
const UltraCondensed ultraCondensed = "ultra-condensed"
const UltraExpanded ultraExpanded = "ultra-expanded"
const Under under = "under"
const Underline underline = "underline"
const Unicase unicase = "unicase"
const Unset unset = "unset"
const UpperAlpha upperAlpha = "upper-alpha"
const UpperLatin upperLatin = "upper-latin"
const UpperRoman upperRoman = "upper-roman"
const Uppercase uppercase = "uppercase"
const Upright upright = "upright"
const UseGlyphOrientation useGlyphOrientation = "use-glyph-orientation"
const Vertical vertical = "vertical"
const VerticalLr verticalLr = "vertical-lr"
const VerticalRl verticalRl = "vertical-rl"
const VerticalText verticalText = "vertical-text"
const Visible visible = "visible"
const WResize wResize = "w-resize"
const Wait wait = "wait"
const Wavy wavy = "wavy"
const Weight weight = "weight"
const Wrap wrap = "wrap"
const WrapReverse wrapReverse = "wrap-reverse"
const XLarge xLarge = "x-large"
const XSmall xSmall = "x-small"
const XxLarge xxLarge = "xx-large"
const XxSmall xxSmall = "xx-small"
const Zero zero = "0"
const ZoomIn zoomIn = "zoom-in"
const ZoomOut zoomOut = "zoom-out"
Variables ¶
This section is empty.
Functions ¶
func FontSynthesis ¶
func FontSynthesis(weight, style bool) fontSynthesisValue
func RegisterRenderer ¶
func RegisterRenderer(r Renderer)
func SetSelector ¶
SetSelector sets the CSS selector of this seed.
Types ¶
type AnimationName ¶
type AnimationName string
func (AnimationName) Rule ¶
func (a AnimationName) Rule() Rule
type FontFace ¶
type FontFace struct { FontFamily string Src urlType FontStretch fontStretchValue FontStyle fontStyleValue FontWeight fontWeightValue FontDisplay fontDisplayValue UnicodeRange unicodeRange }
func NewFontFace ¶
type OrderedMap ¶
type OrderedMap struct {
// contains filtered or unexported fields
}
func (*OrderedMap) Delete ¶
func (om *OrderedMap) Delete(key string) (string, bool)
Delete removes the key-value pair, and returns what `Get` would have returned on that key prior to the call to `Delete`.
func (*OrderedMap) Get ¶
func (om *OrderedMap) Get(key string) (string, bool)
Get looks for the given key, and returns the value associated with it, or nil if not found. The boolean it returns says whether the key is present in the map.
func (*OrderedMap) Newest ¶
func (om *OrderedMap) Newest() *Pair
Newest returns a pointer to the newest pair. It's meant to be used to iterate on the ordered map's pairs from the newest to the oldest, e.g.: for pair := orderedMap.Oldest(); pair != nil; pair = pair.Next() { fmt.Printf("%v => %v\n", pair.Key, pair.Value) }
func (*OrderedMap) Oldest ¶
func (om *OrderedMap) Oldest() *Pair
Oldest returns a pointer to the oldest pair. It's meant to be used to iterate on the ordered map's pairs from the oldest to the newest, e.g.: for pair := orderedMap.Oldest(); pair != nil; pair = pair.Next() { fmt.Printf("%v => %v\n", pair.Key, pair.Value) }
type Rule ¶
type Rule string
Rule is a single css Rule.
func SetAlignContent ¶
func SetAlignContent(value alignContentValue) Rule
func SetAlignItems ¶
func SetAlignItems(value alignItemsValue) Rule
func SetAlignSelf ¶
func SetAlignSelf(value alignSelfValue) Rule
func SetAnimation ¶
func SetAnimation(value animationValue) Rule
func SetAnimationDelay ¶
func SetAnimationDelay(value durationValue) Rule
func SetAnimationDirection ¶
func SetAnimationDirection(value animationDirectionValue) Rule
func SetAnimationDuration ¶
func SetAnimationDuration(value durationValue) Rule
func SetAnimationFillMode ¶
func SetAnimationFillMode(value animationFillModeValue) Rule
func SetAnimationIterationCount ¶
func SetAnimationIterationCount(value animationIterationCountValue) Rule
func SetAnimationName ¶
func SetAnimationName(value animationNameValue) Rule
func SetAnimationPlayState ¶
func SetAnimationPlayState(value animationPlayStateValue) Rule
func SetAnimationTimingFunction ¶
func SetAnimationTimingFunction(value animationTimingFunctionValue) Rule
func SetBackfaceVisibility ¶
func SetBackfaceVisibility(value backfaceVisibilityValue) Rule
func SetBackground ¶
func SetBackground(value backgroundValue) Rule
func SetBackgroundAttachment ¶
func SetBackgroundAttachment(value backgroundAttachmentValue) Rule
func SetBackgroundBlendMode ¶
func SetBackgroundBlendMode(value backgroundBlendModeValue) Rule
func SetBackgroundClip ¶
func SetBackgroundClip(value boxValue) Rule
func SetBackgroundColor ¶
func SetBackgroundColor(value colorValue) Rule
func SetBackgroundImage ¶
func SetBackgroundImage(value imageValue) Rule
func SetBackgroundOrigin ¶
func SetBackgroundOrigin(value backgroundOriginValue) Rule
func SetBackgroundPosition ¶
func SetBackgroundPosition(value unitAndUnitValue) Rule
func SetBackgroundRepeat ¶
func SetBackgroundRepeat(value backgroundRepeatValue) Rule
func SetBackgroundSize ¶
func SetBackgroundSize(value sizeValue) Rule
func SetBorderBottom ¶
func SetBorderBottom(value borderBottomValue) Rule
func SetBorderBottomColor ¶
func SetBorderBottomColor(value colorValue) Rule
func SetBorderBottomLeftRadius ¶
func SetBorderBottomLeftRadius(value unitValue) Rule
func SetBorderBottomRightRadius ¶
func SetBorderBottomRightRadius(value unitValue) Rule
func SetBorderBottomStyle ¶
func SetBorderBottomStyle(value borderStyleValue) Rule
func SetBorderBottomWidth ¶
func SetBorderBottomWidth(value thicknessValue) Rule
func SetBorderCollapse ¶
func SetBorderCollapse(value borderCollapseValue) Rule
func SetBorderColor ¶
func SetBorderColor(value colorValue) Rule
func SetBorderImage ¶
func SetBorderImage(value borderImageValue) Rule
func SetBorderImageOutset ¶
func SetBorderImageOutset(value uintOrUnitValue) Rule
func SetBorderImageRepeat ¶
func SetBorderImageRepeat(value borderImageRepeatValue) Rule
func SetBorderImageSlice ¶
func SetBorderImageSlice(value borderImageSliceValue) Rule
func SetBorderImageSource ¶
func SetBorderImageSource(value imageValue) Rule
func SetBorderImageWidth ¶
func SetBorderImageWidth(value sizeValue) Rule
func SetBorderLeft ¶
func SetBorderLeft(value borderLeftValue) Rule
func SetBorderLeftColor ¶
func SetBorderLeftColor(value sizeValue) Rule
func SetBorderLeftStyle ¶
func SetBorderLeftStyle(value borderStyleValue) Rule
func SetBorderLeftWidth ¶
func SetBorderLeftWidth(value thicknessValue) Rule
func SetBorderRadius ¶
func SetBorderRadius(value borderRadiusValue) Rule
func SetBorderRight ¶
func SetBorderRight(value borderRightValue) Rule
func SetBorderRightColor ¶
func SetBorderRightColor(value colorValue) Rule
func SetBorderRightStyle ¶
func SetBorderRightStyle(value borderStyleValue) Rule
func SetBorderRightWidth ¶
func SetBorderRightWidth(value thicknessValue) Rule
func SetBorderSpacing ¶
func SetBorderSpacing(value unitValue) Rule
func SetBorderStyle ¶
func SetBorderStyle(value borderStyleValue) Rule
func SetBorderTop ¶
func SetBorderTop(value borderTopValue) Rule
func SetBorderTopColor ¶
func SetBorderTopColor(value colorValue) Rule
func SetBorderTopLeftRadius ¶
func SetBorderTopLeftRadius(value borderTopLeftRadiusValue) Rule
func SetBorderTopRightRadius ¶
func SetBorderTopRightRadius(value borderTopRightRadiusValue) Rule
func SetBorderTopStyle ¶
func SetBorderTopStyle(value borderStyleValue) Rule
func SetBorderTopWidth ¶
func SetBorderTopWidth(value thicknessValue) Rule
func SetBorderWidth ¶
func SetBorderWidth(value thicknessValue) Rule
func SetBoxDecorationBreak ¶
func SetBoxDecorationBreak(value boxDecorationBreakValue) Rule
func SetBoxShadow ¶
func SetBoxShadow(value shadowValue) Rule
func SetBoxSizing ¶
func SetBoxSizing(value boxValue) Rule
func SetBreakAfter ¶
func SetBreakAfter(value breakValue) Rule
func SetBreakBefore ¶
func SetBreakBefore(value breakValue) Rule
func SetBreakInside ¶
func SetBreakInside(value breakInsideValue) Rule
func SetCaptionSide ¶
func SetCaptionSide(value captionSideValue) Rule
func SetColumnCount ¶
func SetColumnCount(value columnCountValue) Rule
func SetColumnFill ¶
func SetColumnFill(value columnFillValue) Rule
func SetColumnGap ¶
func SetColumnGap(value columnGapValue) Rule
func SetColumnRule ¶
func SetColumnRule(value columnRuleValue) Rule
func SetColumnRuleColor ¶
func SetColumnRuleColor(value colorValue) Rule
func SetColumnRuleStyle ¶
func SetColumnRuleStyle(value borderStyleValue) Rule
func SetColumnRuleWidth ¶
func SetColumnRuleWidth(value columnRuleWidthValue) Rule
func SetColumnSpan ¶
func SetColumnSpan(value unitOrAutoValue) Rule
func SetColumnWidth ¶
func SetColumnWidth(value columnWidthValue) Rule
func SetColumns ¶
func SetColumns(value columnsValue) Rule
func SetContent ¶
func SetContent(value contentValue) Rule
func SetCounterIncrement ¶
func SetCounterIncrement(value counterIncrementValue) Rule
func SetCounterReset ¶
func SetCounterReset(value nameValue) Rule
func SetDirection ¶
func SetDirection(value directionValue) Rule
func SetDisplay ¶
func SetDisplay(value displayValue) Rule
func SetEmptyCells ¶
func SetEmptyCells(value emptyCellsValue) Rule
func SetFlexBasis ¶
func SetFlexBasis(value unitOrAutoValue) Rule
func SetFlexDirection ¶
func SetFlexDirection(value flexDirectionValue) Rule
func SetFlexFlow ¶
func SetFlexFlow(value flexFlowValue) Rule
func SetFlexGrow ¶
func SetFlexGrow(value numberValue) Rule
func SetFlexShrink ¶
func SetFlexShrink(value numberValue) Rule
func SetFlexWrap ¶
func SetFlexWrap(value flexWrapValue) Rule
func SetFontDisplay ¶
func SetFontDisplay(value fontDisplayValue) Rule
func SetFontFamily ¶
func SetFontFamily(value fontFamilyValue) Rule
func SetFontFeatureSettings ¶
func SetFontFeatureSettings(value fontFeatureSettingsValue) Rule
func SetFontKerning ¶
func SetFontKerning(value normalOrAutoValue) Rule
func SetFontLanguageOverride ¶
func SetFontLanguageOverride(value fontLanguageOverrideValue) Rule
func SetFontSize ¶
func SetFontSize(value fontSizeValue) Rule
func SetFontSizeAdjust ¶
func SetFontSizeAdjust(value fontSizeAdjustValue) Rule
func SetFontStretch ¶
func SetFontStretch(value fontStretchValue) Rule
func SetFontStyle ¶
func SetFontStyle(value fontStyleValue) Rule
func SetFontSynthesis ¶
func SetFontSynthesis(value fontSynthesisValue) Rule
func SetFontVariant ¶
func SetFontVariant(value fontVariantValue) Rule
func SetFontVariantAlternates ¶
func SetFontVariantAlternates(value fontVariantAlternatesValue) Rule
func SetFontVariantCaps ¶
func SetFontVariantCaps(value fontVariantCapsValue) Rule
func SetFontVariantEastAsian ¶
func SetFontVariantEastAsian(value fontVariantEastAsianValue) Rule
func SetFontVariantLigatures ¶
func SetFontVariantLigatures(value fontVariantLigaturesValue) Rule
func SetFontVariantNumeric ¶
func SetFontVariantNumeric(value fontVariantNumericValue) Rule
func SetFontVariantPosition ¶
func SetFontVariantPosition(value fontVariantPositionValue) Rule
func SetFontWeight ¶
func SetFontWeight(value fontWeightValue) Rule
func SetGridArea ¶
func SetGridArea(value gridAreaValue) Rule
func SetGridAutoColumns ¶
func SetGridAutoColumns(value gridAutoValue) Rule
func SetGridAutoFlow ¶
func SetGridAutoFlow(value gridAutoFlowValue) Rule
func SetGridAutoRows ¶
func SetGridAutoRows(value gridAutoValue) Rule
func SetGridColumn ¶
func SetGridColumn(value gridColumnValue) Rule
func SetGridColumnEnd ¶
func SetGridColumnEnd(value gridStopValue) Rule
func SetGridColumnGap ¶
func SetGridColumnGap(value unitValue) Rule
func SetGridColumnStart ¶
func SetGridColumnStart(value gridStopValue) Rule
func SetGridGap ¶
func SetGridGap(value gridGapValue) Rule
func SetGridRow ¶
func SetGridRow(value gridRowValue) Rule
func SetGridRowEnd ¶
func SetGridRowEnd(value gridStopValue) Rule
func SetGridRowGap ¶
func SetGridRowGap(value unitValue) Rule
func SetGridRowStart ¶
func SetGridRowStart(value gridStopValue) Rule
func SetGridTemplate ¶
func SetGridTemplate(value gridTemplateValue) Rule
func SetGridTemplateAreas ¶
func SetGridTemplateColumns ¶
func SetGridTemplateColumns(values []gridTemplateValue) Rule
func SetGridTemplateRows ¶
func SetGridTemplateRows(values []gridTemplateValue) Rule
func SetHangingPunctuation ¶
func SetHangingPunctuation(value hangingPunctuationValue) Rule
func SetHyphens ¶
func SetHyphens(value hyphensValue) Rule
func SetImageRendering ¶
func SetImageRendering(value imageRenderingValue) Rule
func SetIsolation ¶
func SetIsolation(value isolationValue) Rule
func SetJustifyContent ¶
func SetJustifyContent(value justifyContentValue) Rule
func SetLetterSpacing ¶
func SetLetterSpacing(value normalOrUnitOrAutoValue) Rule
func SetLineBreak ¶
func SetLineBreak(value lineBreakValue) Rule
func SetLineHeight ¶
func SetLineHeight(value lineHeightValue) Rule
func SetListStyle ¶
func SetListStyle(value listStyleValue) Rule
func SetListStyleImage ¶
func SetListStyleImage(value imageValue) Rule
func SetListStylePosition ¶
func SetListStylePosition(value listStylePositionValue) Rule
func SetListStyleType ¶
func SetListStyleType(value listStyleTypeValue) Rule
func SetMarginBottom ¶
func SetMarginBottom(value unitOrAutoValue) Rule
func SetMarginLeft ¶
func SetMarginLeft(value unitOrAutoValue) Rule
func SetMarginRight ¶
func SetMarginRight(value unitOrAutoValue) Rule
func SetMarginTop ¶
func SetMarginTop(value unitOrAutoValue) Rule
func SetMaxHeight ¶
func SetMaxHeight(value unitOrNoneValue) Rule
func SetMaxWidth ¶
func SetMaxWidth(value unitOrNoneValue) Rule
func SetMinHeight ¶
func SetMinHeight(value unitOrNoneValue) Rule
func SetMinWidth ¶
func SetMinWidth(value unitOrNoneValue) Rule
func SetMixBlendMode ¶
func SetMixBlendMode(value mixBlendModeValue) Rule
func SetObjectFit ¶
func SetObjectFit(value objectFitValue) Rule
func SetObjectPosition ¶
func SetObjectPosition(value unitAndUnitValue) Rule
func SetOpacity ¶
func SetOpacity(value numberValue) Rule
func SetOrphans ¶
func SetOrphans(value uintValue) Rule
func SetOutline ¶
func SetOutline(value outlineValue) Rule
func SetOutlineColor ¶
func SetOutlineColor(value colorValue) Rule
func SetOutlineOffset ¶
func SetOutlineOffset(value unitValue) Rule
func SetOutlineStyle ¶
func SetOutlineStyle(value borderStyleValue) Rule
func SetOutlineWidth ¶
func SetOutlineWidth(value thicknessValue) Rule
func SetOverflow ¶
func SetOverflow(value overflowValue) Rule
func SetOverflowWrap ¶
func SetOverflowWrap(value overflowWrapValue) Rule
func SetOverflowX ¶
func SetOverflowX(value overflowValue) Rule
func SetOverflowY ¶
func SetOverflowY(value overflowValue) Rule
func SetPadding ¶
func SetPadding(value paddingValue) Rule
func SetPaddingBottom ¶
func SetPaddingBottom(value unitValue) Rule
func SetPaddingLeft ¶
func SetPaddingLeft(value unitValue) Rule
func SetPaddingRight ¶
func SetPaddingRight(value unitValue) Rule
func SetPaddingTop ¶
func SetPaddingTop(value unitValue) Rule
func SetPageBreakAfter ¶
func SetPageBreakAfter(value pageBreakValue) Rule
func SetPageBreakBefore ¶
func SetPageBreakBefore(value pageBreakValue) Rule
func SetPageBreakInside ¶
func SetPageBreakInside(value pageBreakInsideValue) Rule
func SetPerspective ¶
func SetPerspective(value unitOrNoneValue) Rule
func SetPerspectiveOrigin ¶
func SetPerspectiveOrigin(value unitAndUnitValue) Rule
func SetPointerEvents ¶
func SetPointerEvents(value pointerEventsValue) Rule
func SetPosition ¶
func SetPosition(value positionValue) Rule
func SetScrollBehavior ¶
func SetScrollBehavior(value scrollBehaviorValue) Rule
func SetTabSize ¶
func SetTabSize(value numberValue) Rule
func SetTableLayout ¶
func SetTableLayout(value tableLayoutValue) Rule
func SetTextAlign ¶
func SetTextAlign(value textAlignValue) Rule
func SetTextAlignLast ¶
func SetTextAlignLast(value textAlignLastValue) Rule
func SetTextCombineUpright ¶
func SetTextCombineUpright(value textCombineUprightValue) Rule
func SetTextDecoration ¶
func SetTextDecoration(value textDecorationValue) Rule
func SetTextDecorationColor ¶
func SetTextDecorationColor(value colorValue) Rule
func SetTextDecorationLine ¶
func SetTextDecorationLine(value textDecorationLineValue) Rule
func SetTextDecorationStyle ¶
func SetTextDecorationStyle(value textDecorationStyleValue) Rule
func SetTextIndent ¶
func SetTextIndent(value unitValue) Rule
func SetTextJustify ¶
func SetTextJustify(value textJustifyValue) Rule
func SetTextOrientation ¶
func SetTextOrientation(value textOrientationValue) Rule
func SetTextOverflow ¶
func SetTextOverflow(value textOverflowValue) Rule
func SetTextShadow ¶
func SetTextShadow(value shadowValue) Rule
func SetTextTransform ¶
func SetTextTransform(value textTransformValue) Rule
func SetTextUnderlinePosition ¶
func SetTextUnderlinePosition(value textUnderlinePositionValue) Rule
func SetTransform ¶
func SetTransform(value transformValue) Rule
func SetTransformOrigin ¶
func SetTransformOrigin(p positionValue, z ...unitValue) Rule
func SetTransformStyle ¶
func SetTransformStyle(value transformStyleValue) Rule
func SetTransition ¶
func SetTransition(value transitionValue) Rule
func SetTransitionDelay ¶
func SetTransitionDelay(value transitionDelayValue) Rule
func SetTransitionDuration ¶
func SetTransitionDuration(value transitionDurationValue) Rule
func SetTransitionProperty ¶
func SetTransitionProperty(properties ...interface{}) Rule
func SetTransitionTimingFunction ¶
func SetTransitionTimingFunction(value transitionTimingFunctionValue) Rule
func SetUnicodeBidi ¶
func SetUnicodeBidi(value unicodeBidiValue) Rule
func SetUserSelect ¶
func SetUserSelect(value userSelectValue) Rule
func SetVerticalAlign ¶
func SetVerticalAlign(value verticalAlignValue) Rule
func SetVisibility ¶
func SetVisibility(value visibilityValue) Rule
func SetWhiteSpace ¶
func SetWhiteSpace(value uintValue) Rule
func SetWillChange ¶
func SetWillChange(properties ...interface{}) Rule
func SetWordBreak ¶
func SetWordBreak(value wordBreakValue) Rule
func SetWordSpacing ¶
func SetWordSpacing(value wordSpacingValue) Rule
func SetWordWrap ¶
func SetWordWrap(value wordWrapValue) Rule
func SetWritingMode ¶
func SetWritingMode(value writingModeValue) Rule