Documentation ¶
Index ¶
- func AlignItems(value alignItems.Type) alignItems.Value
- func AlignSelf(value alignSelf.Type) alignSelf.Value
- func AnimationDelay(value interface{}) animationDelay.Value
- func AnimationDelays(values ...interface{}) animationDelay.Value
- func AnimationDirection(value animationDirection.Type) animationDirection.Value
- func AnimationDirections(values ...interface{}) animationDirection.Value
- func AnimationDuration(value interface{}) animationDuration.Value
- func AnimationDurations(values ...interface{}) animationDuration.Value
- func AnimationFillMode(value animationFillMode.Type) animationFillMode.Value
- func AnimationFillModes(values ...interface{}) animationFillMode.Value
- func AnimationIterationCount(value interface{}) animationIterationCount.Value
- func AnimationIterationCounts(values ...interface{}) animationIterationCount.Value
- func AnimationName(value animationName.Type) animationName.Value
- func AnimationNames(values ...interface{}) animationName.Value
- func AnimationPlayState(value animationPlayState.Type) animationPlayState.Value
- func AnimationPlayStates(values ...interface{}) animationPlayState.Value
- func AnimationTimingFunction(value animationTimingFunction.Type) animationTimingFunction.Value
- func AnimationTimingFunctions(values ...interface{}) animationTimingFunction.Value
- func Background(nonRepeatingBackgroundValues ...interface{}) background.Value
- func BackgroundAttachment(attaches backgroundAttachment.Type) backgroundAttachment.Value
- func BackgroundClip(clipping backgroundClip.Type) backgroundClip.Value
- func BackgroundColor(color interface{}) backgroundColor.Value
- func BackgroundImage(backgrounds ...backgroundImage.Type) backgroundImage.Value
- func BackgroundOrigin(origin backgroundOrigin.Type) backgroundOrigin.Value
- func BackgroundPosition(positions ...backgroundPosition.Type) backgroundPosition.Value
- func BackgroundRepeat(repeats ...backgroundRepeat.Type) backgroundRepeat.Value
- func BackgroundSize(sizes ...backgroundSize.Type) backgroundSize.Value
- func Backgrounds(backgrounds ...background.Value) background.Value
- func Border(width interface{}, style borderStyle.Type, color color.Type) border.Value
- func BorderColor(colors ...interface{}) borderColor.Value
- func BorderRadius(values ...borderRadius.Type) borderRadius.Value
- func BorderStyle(styles ...borderStyle.Type) borderStyle.Value
- func BorderWidth(widths ...interface{}) borderWidth.Value
- func Bottom(value interface{}) bottom.Value
- func BoxShadow(offsetsBlurSpreadColorAndInset ...interface{}) boxShadow.Value
- func BoxShadows(boxes ...boxShadow.Value) boxShadow.Value
- func Color(c interface{}) color.Value
- func Cursor(value cursor.Type) cursor.Value
- func Display(value display.Type) display.Value
- func FlexDirection(dir flexDirection.Type) flexDirection.Value
- func FlexGrow(number interface{}) flexGrow.Value
- func FlexShrink(number interface{}) flexShrink.Value
- func FlexWrap(wrap flexWrap.Type) flexWrap.Value
- func Float(fl float.Type) float.Value
- func FontFamily(fontNames ...fontFamily.Type) fontFamily.Value
- func FontSize(size interface{}) fontSize.Value
- func FontWeight(value fontWeight.Type) fontWeight.Value
- func GridTemplateColumns(values ...interface{}) gridTemplateColumns.Value
- func Height(length interface{}) height.Value
- func JustifyContent(value justifyContent.Type) justifyContent.Value
- func Left(value interface{}) left.Value
- func LineHeight(value interface{}) lineHeight.Value
- func Margin(lengths ...interface{}) margin.Value
- func MarginBottom(length interface{}) marginBottom.Value
- func MarginLeft(length interface{}) marginLeft.Value
- func MarginRight(length interface{}) marginRight.Value
- func MarginTop(length interface{}) marginTop.Value
- func MaxHeight(value interface{}) maxHeight.Value
- func MaxWidth(value interface{}) maxWidth.Value
- func MinHeight(value interface{}) minHeight.Value
- func MinWidth(value interface{}) minWidth.Value
- func Opacity(value interface{}) opacity.Value
- func OutlineColor(outColor interface{}) outlineColor.Value
- func OutlineStyle(value outlineStyle.Type) outlineStyle.Value
- func Overflow(p overflow.Type) overflow.Value
- func Padding(lengths ...interface{}) padding.Value
- func PaddingBottom(length interface{}) paddingBottom.Value
- func PaddingLeft(length interface{}) paddingLeft.Value
- func PaddingRight(length interface{}) paddingRight.Value
- func PaddingTop(length interface{}) paddingTop.Value
- func Position(pos position.Type) position.Value
- func Right(length interface{}) right.Value
- func TextAlign(value textAlign.Type) textAlign.Value
- func Top(length interface{}) top.Value
- func Transform(trans interface{}) transform.Value
- func Transforms(transforms ...transform.Value) transform.Value
- func Transition(nonRepeatingTransitionValues ...interface{}) transition.Value
- func TransitionDelay(value interface{}) transitionDelay.Value
- func TransitionDelays(delays ...interface{}) transitionDelay.Value
- func TransitionDuration(value interface{}) transitionDuration.Value
- func TransitionDurations(delays ...interface{}) transitionDuration.Value
- func TransitionProperties(delays ...transitionProperty.Type) transitionProperty.Value
- func TransitionProperty(value transitionProperty.Type) transitionProperty.Value
- func TransitionTimingFunction(value transitionTimingFunction.Type) transitionTimingFunction.Value
- func TransitionTimingFunctions(delays ...transitionTimingFunction.Type) transitionTimingFunction.Value
- func Transitions(transitions ...transition.Value) transition.Value
- func UserSelect(value userSelect.Type) userSelect.Value
- func VerticalAlign(value verticalAlign.Type) verticalAlign.Value
- func Visibility(value visibility.Type) visibility.Value
- func Width(length interface{}) width.Value
- func ZIndex(typeOrNumber interface{}) zIndex.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignItems ¶
func AlignItems(value alignItems.Type) alignItems.Value
func AnimationDelay ¶
func AnimationDelay(value interface{}) animationDelay.Value
func AnimationDelays ¶
func AnimationDelays(values ...interface{}) animationDelay.Value
func AnimationDirection ¶
func AnimationDirection(value animationDirection.Type) animationDirection.Value
func AnimationDirections ¶
func AnimationDirections(values ...interface{}) animationDirection.Value
func AnimationDuration ¶
func AnimationDuration(value interface{}) animationDuration.Value
func AnimationDurations ¶
func AnimationDurations(values ...interface{}) animationDuration.Value
func AnimationFillMode ¶
func AnimationFillMode(value animationFillMode.Type) animationFillMode.Value
func AnimationFillModes ¶
func AnimationFillModes(values ...interface{}) animationFillMode.Value
func AnimationIterationCount ¶
func AnimationIterationCount(value interface{}) animationIterationCount.Value
func AnimationIterationCounts ¶
func AnimationIterationCounts(values ...interface{}) animationIterationCount.Value
func AnimationName ¶
func AnimationName(value animationName.Type) animationName.Value
func AnimationNames ¶
func AnimationNames(values ...interface{}) animationName.Value
func AnimationPlayState ¶
func AnimationPlayState(value animationPlayState.Type) animationPlayState.Value
func AnimationPlayStates ¶
func AnimationPlayStates(values ...interface{}) animationPlayState.Value
func AnimationTimingFunction ¶
func AnimationTimingFunction(value animationTimingFunction.Type) animationTimingFunction.Value
func AnimationTimingFunctions ¶
func AnimationTimingFunctions(values ...interface{}) animationTimingFunction.Value
func Background ¶
func Background(nonRepeatingBackgroundValues ...interface{}) background.Value
Background is used for weird case not handled by Background. Expects either strings or something that casts to a string. Then basically concatenates the strings. NOTE items are not ordered. Also the size value must be prefixed by "/"
func BackgroundAttachment ¶
func BackgroundAttachment(attaches backgroundAttachment.Type) backgroundAttachment.Value
func BackgroundClip ¶
func BackgroundClip(clipping backgroundClip.Type) backgroundClip.Value
func BackgroundColor ¶
func BackgroundColor(color interface{}) backgroundColor.Value
BackgroundColor can take any string that is a color like: color.Type, color.Value, backgroundColor.Type and backgroundColor.Value.
func BackgroundImage ¶
func BackgroundImage(backgrounds ...backgroundImage.Type) backgroundImage.Value
func BackgroundOrigin ¶
func BackgroundOrigin(origin backgroundOrigin.Type) backgroundOrigin.Value
func BackgroundPosition ¶
func BackgroundPosition(positions ...backgroundPosition.Type) backgroundPosition.Value
func BackgroundRepeat ¶
func BackgroundRepeat(repeats ...backgroundRepeat.Type) backgroundRepeat.Value
func BackgroundSize ¶
func BackgroundSize(sizes ...backgroundSize.Type) backgroundSize.Value
func Backgrounds ¶
func Backgrounds(backgrounds ...background.Value) background.Value
Backgrounds NOTE only the last layer can include background-color
func BorderColor ¶
func BorderColor(colors ...interface{}) borderColor.Value
func BorderRadius ¶
func BorderRadius(values ...borderRadius.Type) borderRadius.Value
BorderRadius For the case of ellipses just pass in "/" ex: style.BorderRadius("10px","/","40px") style.BorderRadius("10% / 40em")
func BorderStyle ¶
func BorderStyle(styles ...borderStyle.Type) borderStyle.Value
func BorderWidth ¶
func BorderWidth(widths ...interface{}) borderWidth.Value
func Cursor ¶
Cursor sets mouse cursor for URL() support pass in a string ex: "URL(..), URL(..), auto"
func FlexDirection ¶
func FlexDirection(dir flexDirection.Type) flexDirection.Value
func FlexShrink ¶
func FlexShrink(number interface{}) flexShrink.Value
func FontFamily ¶
func FontFamily(fontNames ...fontFamily.Type) fontFamily.Value
func FontWeight ¶
func FontWeight(value fontWeight.Type) fontWeight.Value
func GridTemplateColumns ¶
func GridTemplateColumns(values ...interface{}) gridTemplateColumns.Value
func JustifyContent ¶
func JustifyContent(value justifyContent.Type) justifyContent.Value
func LineHeight ¶
func LineHeight(value interface{}) lineHeight.Value
LineHeight defaults to pixels if a numbers are passed in, otherwise it accepts as is
func MarginBottom ¶
func MarginBottom(length interface{}) marginBottom.Value
func MarginLeft ¶
func MarginLeft(length interface{}) marginLeft.Value
func MarginRight ¶
func MarginRight(length interface{}) marginRight.Value
MarginRight defaults to pixels if a numbers are passed in, otherwise it accepts as is
func MarginTop ¶
MarginTop defaults to pixels if a numbers are passed in, otherwise it accepts as is
func OutlineColor ¶
func OutlineColor(outColor interface{}) outlineColor.Value
func OutlineStyle ¶
func OutlineStyle(value outlineStyle.Type) outlineStyle.Value
func PaddingBottom ¶
func PaddingBottom(length interface{}) paddingBottom.Value
func PaddingLeft ¶
func PaddingLeft(length interface{}) paddingLeft.Value
func PaddingRight ¶
func PaddingRight(length interface{}) paddingRight.Value
func PaddingTop ¶
func PaddingTop(length interface{}) paddingTop.Value
func Transition ¶
func Transition(nonRepeatingTransitionValues ...interface{}) transition.Value
Background is used for weird case not handled by Background. Expects either strings or something that casts to a string. Then basically concatenates the strings.
func TransitionDelay ¶
func TransitionDelay(value interface{}) transitionDelay.Value
func TransitionDelays ¶
func TransitionDelays(delays ...interface{}) transitionDelay.Value
func TransitionDuration ¶
func TransitionDuration(value interface{}) transitionDuration.Value
func TransitionDurations ¶
func TransitionDurations(delays ...interface{}) transitionDuration.Value
func TransitionProperties ¶
func TransitionProperties(delays ...transitionProperty.Type) transitionProperty.Value
func TransitionProperty ¶
func TransitionProperty(value transitionProperty.Type) transitionProperty.Value
func TransitionTimingFunction ¶
func TransitionTimingFunction(value transitionTimingFunction.Type) transitionTimingFunction.Value
func TransitionTimingFunctions ¶
func TransitionTimingFunctions(delays ...transitionTimingFunction.Type) transitionTimingFunction.Value
func Transitions ¶
func Transitions(transitions ...transition.Value) transition.Value
Transitions is used when specifying multiple transitions
func UserSelect ¶
func UserSelect(value userSelect.Type) userSelect.Value
func VerticalAlign ¶
func VerticalAlign(value verticalAlign.Type) verticalAlign.Value
func Visibility ¶
func Visibility(value visibility.Type) visibility.Value
Types ¶
This section is empty.