Documentation ¶
Index ¶
- Variables
- func AlignContentHandler(value string) bool
- func AlignItemsHandler(value string) bool
- func AlignSelfHandler(value string) bool
- func AllHandler(value string) bool
- func AnimationDelayHandler(value string) bool
- func AnimationDirectionHandler(value string) bool
- func AnimationDurationHandler(value string) bool
- func AnimationFillModeHandler(value string) bool
- func AnimationHandler(value string) bool
- func AnimationIterationCountHandler(value string) bool
- func AnimationNameHandler(value string) bool
- func AnimationPlayStateHandler(value string) bool
- func BackfaceVisibilityHandler(value string) bool
- func BackgroundAttachmentHandler(value string) bool
- func BackgroundBlendModeHandler(value string) bool
- func BackgroundClipHandler(value string) bool
- func BackgroundHandler(value string) bool
- func BackgroundOriginHandler(value string) bool
- func BackgroundPositionHandler(value string) bool
- func BackgroundRepeatHandler(value string) bool
- func BackgroundSizeHandler(value string) bool
- func BaseHandler(value string) bool
- func BorderCollapseHandler(value string) bool
- func BorderHandler(value string) bool
- func BorderImageHandler(value string) bool
- func BorderImageOutsetHandler(value string) bool
- func BorderImageRepeatHandler(value string) bool
- func BorderImageSliceHandler(value string) bool
- func BorderImageWidthHandler(value string) bool
- func BorderRadiusHandler(value string) bool
- func BorderSideHandler(value string) bool
- func BorderSideRadiusHandler(value string) bool
- func BorderSideStyleHandler(value string) bool
- func BorderSideWidthHandler(value string) bool
- func BorderSpacingHandler(value string) bool
- func BorderStyleHandler(value string) bool
- func BorderWidthHandler(value string) bool
- func BoxDecorationBreakHandler(value string) bool
- func BoxShadowHandler(value string) bool
- func BoxSizingHandler(value string) bool
- func BreakBeforeAfterHandler(value string) bool
- func BreakInsideHandler(value string) bool
- func CaptionSideHandler(value string) bool
- func CaretColorHandler(value string) bool
- func ClearHandler(value string) bool
- func ClipHandler(value string) bool
- func ColorHandler(value string) bool
- func ColumnCountHandler(value string) bool
- func ColumnFillHandler(value string) bool
- func ColumnGapHandler(value string) bool
- func ColumnRuleHandler(value string) bool
- func ColumnRuleWidthHandler(value string) bool
- func ColumnSpanHandler(value string) bool
- func ColumnWidthHandler(value string) bool
- func ColumnsHandler(value string) bool
- func CursorHandler(value string) bool
- func DirectionHandler(value string) bool
- func DisplayHandler(value string) bool
- func EmptyCellsHandler(value string) bool
- func FilterHandler(value string) bool
- func FlexBasisHandler(value string) bool
- func FlexDirectionHandler(value string) bool
- func FlexFlowHandler(value string) bool
- func FlexGrowHandler(value string) bool
- func FlexHandler(value string) bool
- func FlexWrapHandler(value string) bool
- func FloatHandler(value string) bool
- func FontFamilyHandler(value string) bool
- func FontHandler(value string) bool
- func FontKerningHandler(value string) bool
- func FontLanguageOverrideHandler(value string) bool
- func FontSizeAdjustHandler(value string) bool
- func FontSizeHandler(value string) bool
- func FontStretchHandler(value string) bool
- func FontStyleHandler(value string) bool
- func FontSynthesisHandler(value string) bool
- func FontVariantCapsHandler(value string) bool
- func FontVariantHandler(value string) bool
- func FontVariantPositionHandler(value string) bool
- func FontWeightHandler(value string) bool
- func GetDefaultHandler(attr string) func(string) bool
- func GridAreaHandler(value string) bool
- func GridAutoColumnsHandler(value string) bool
- func GridAutoFlowHandler(value string) bool
- func GridAxisStartEndHandler(value string) bool
- func GridColumnGapHandler(value string) bool
- func GridColumnHandler(value string) bool
- func GridGapHandler(value string) bool
- func GridHandler(value string) bool
- func GridRowHandler(value string) bool
- func GridTemplateAreasHandler(value string) bool
- func GridTemplateColumnsHandler(value string) bool
- func GridTemplateHandler(value string) bool
- func GridTemplateRowsHandler(value string) bool
- func HangingPunctuationHandler(value string) bool
- func HeightHandler(value string) bool
- func HyphensHandler(value string) bool
- func ImageHandler(value string) bool
- func ImageRenderingHandler(value string) bool
- func IsolationHandler(value string) bool
- func JustifyContentHandler(value string) bool
- func LengthHandler(value string) bool
- func LetterSpacingHandler(value string) bool
- func LineBreakHandler(value string) bool
- func LineHeightHandler(value string) bool
- func ListStyleHandler(value string) bool
- func ListStylePositionHandler(value string) bool
- func ListStyleTypeHandler(value string) bool
- func MarginHandler(value string) bool
- func MarginSideHandler(value string) bool
- func MaxHeightWidthHandler(value string) bool
- func MinHeightWidthHandler(value string) bool
- func MixBlendModeHandler(value string) bool
- func ObjectFitHandler(value string) bool
- func ObjectPositionHandler(value string) bool
- func OpacityHandler(value string) bool
- func OrderHandler(value string) bool
- func OrphansHandler(value string) bool
- func OutlineHandler(value string) bool
- func OutlineOffsetHandler(value string) bool
- func OutlineStyleHandler(value string) bool
- func OutlineWidthHandler(value string) bool
- func OverflowHandler(value string) bool
- func OverflowWrapHandler(value string) bool
- func OverflowXYHandler(value string) bool
- func PaddingHandler(value string) bool
- func PaddingSideHandler(value string) bool
- func PageBreakBeforeAfterHandler(value string) bool
- func PageBreakInsideHandler(value string) bool
- func PerspectiveHandler(value string) bool
- func PerspectiveOriginHandler(value string) bool
- func PointerEventsHandler(value string) bool
- func PositionHandler(value string) bool
- func QuotesHandler(value string) bool
- func ResizeHandler(value string) bool
- func ScrollBehaviorHandler(value string) bool
- func SideHandler(value string) bool
- func TabSizeHandler(value string) bool
- func TableLayoutHandler(value string) bool
- func TextAlignHandler(value string) bool
- func TextAlignLastHandler(value string) bool
- func TextCombineUprightHandler(value string) bool
- func TextDecorationHandler(value string) bool
- func TextDecorationLineHandler(value string) bool
- func TextDecorationStyleHandler(value string) bool
- func TextIndentHandler(value string) bool
- func TextJustifyHandler(value string) bool
- func TextOrientationHandler(value string) bool
- func TextOverflowHandler(value string) bool
- func TextShadowHandler(value string) bool
- func TextTransformHandler(value string) bool
- func TimingFunctionHandler(value string) bool
- func TransformHandler(value string) bool
- func TransformOriginHandler(value string) bool
- func TransformStyleHandler(value string) bool
- func TransitionDelayHandler(value string) bool
- func TransitionDurationHandler(value string) bool
- func TransitionHandler(value string) bool
- func TransitionPropertyHandler(value string) bool
- func UnicodeBidiHandler(value string) bool
- func UserSelectHandler(value string) bool
- func VerticalAlignHandler(value string) bool
- func VisiblityHandler(value string) bool
- func WhiteSpaceHandler(value string) bool
- func WidthHandler(value string) bool
- func WordBreakHandler(value string) bool
- func WordSpacingHandler(value string) bool
- func WordWrapHandler(value string) bool
- func WritingModeHandler(value string) bool
- func ZIndexHandler(value string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Alpha = regexp.MustCompile(`^[a-z]+$`) Blur = regexp.MustCompile(`^blur\([0-9]+px\)$`) BrightnessCont = regexp.MustCompile(`^(brightness|contrast)\([0-9]+\%\)$`) Count = regexp.MustCompile(`^[0-9]+[\.]?[0-9]*$`) CubicBezier = regexp.MustCompile(`^cubic-bezier\(([ ]*(0(.[0-9]+)?|1(.0)?),){3}[ ]*(0(.[0-9]+)?|1)\)$`) Digits = regexp.MustCompile(`^digits [2-4]$`) DropShadow = regexp.MustCompile(`drop-shadow\(([-]?[0-9]+px) ([-]?[0-9]+px)( [-]?[0-9]+px)?( ([-]?[0-9]+px))?`) Font = regexp.MustCompile(`^('[a-z \-]+'|[a-z \-]+)$`) Grayscale = regexp.MustCompile(`^grayscale\(([0-9]{1,2}|100)%\)$`) GridTemplateAreas = regexp.MustCompile(`^['"]?[a-z ]+['"]?$`) HexRGB = regexp.MustCompile(`^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$`) HSL = regexp.MustCompile(`^hsl\([ ]*([012]?[0-9]{1,2}|3[0-5][0-9]|360),[ ]*([0-9]{0,2}|100)\%,[ ]*([0-9]{0,2}|100)\%\)$`) HSLA = regexp.MustCompile(`^hsla\(([ ]*[012]?[0-9]{1,2}|3[0-5][0-9]|360),[ ]*([0-9]{0,2}|100)\%,[ ]*([0-9]{0,2}|100)\%,[ ]*(1|1\.0|0|(0\.[0-9]+))\)$`) HueRotate = regexp.MustCompile(`^hue-rotate\(([12]?[0-9]{1,2}|3[0-5][0-9]|360)?\)$`) Invert = regexp.MustCompile(`^invert\(([0-9]{1,2}|100)%\)$`) Length = regexp.MustCompile(`^[\-]?([0-9]+|[0-9]*[\.][0-9]+)(%|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|deg|rad|turn)?$`) Matrix = regexp.MustCompile(`^matrix\(([ ]*[0-9]+[\.]?[0-9]*,){5}([ ]*[0-9]+[\.]?[0-9]*)\)$`) Matrix3D = regexp.MustCompile(`^matrix3d\(([ ]*[0-9]+[\.]?[0-9]*,){15}([ ]*[0-9]+[\.]?[0-9]*)\)$`) NegTime = regexp.MustCompile(`^[\-]?[0-9]+[\.]?[0-9]*(s|ms)?$`) Numeric = regexp.MustCompile(`^[0-9]+$`) NumericDecimal = regexp.MustCompile(`^[0-9\.]+$`) Opactiy = regexp.MustCompile(`^opacity\(([0-9]{1,2}|100)%\)$`) Perspective = regexp.MustCompile(`perspective\(`) Position = regexp.MustCompile(`^[\-]*[0-9]+[cm|mm|in|px|pt|pc\%]* [[\-]*[0-9]+[cm|mm|in|px|pt|pc\%]*]*$`) Opacity = regexp.MustCompile(`^(0[.]?[0-9]*)|(1.0)$`) QuotedAlpha = regexp.MustCompile(`^["'][a-z]+["']$`) Quotes = regexp.MustCompile(`^([ ]*["'][\x{0022}\x{0027}\x{2039}\x{2039}\x{203A}\x{00AB}\x{00BB}\x{2018}\x{2019}\x{201C}-\x{201E}]["'] ["'][\x{0022}\x{0027}\x{2039}\x{2039}\x{203A}\x{00AB}\x{00BB}\x{2018}\x{2019}\x{201C}-\x{201E}]["'])+$`) Rect = regexp.MustCompile(`^rect\([0-9]+px,[ ]*[0-9]+px,[ ]*[0-9]+px,[ ]*[0-9]+px\)$`) RGB = regexp.MustCompile(`^rgb\(([ ]*((([0-9]{1,2}|100)\%)|(([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))),){2}([ ]*((([0-9]{1,2}|100)\%)|(([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))))\)$`) RGBA = regexp.MustCompile(`^rgba\(([ ]*((([0-9]{1,2}|100)\%)|(([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))),){3}[ ]*(1(\.0)?|0|(0\.[0-9]+))\)$`) Rotate = regexp.MustCompile(`^rotate(x|y|z)?\(([12]?|3[0-5][0-9]|360)\)$`) Rotate3D = regexp.MustCompile(`^rotate3d\(([ ]?(1(\.0)?|0\.[0-9]+),){3}([12]?|3[0-5][0-9]|360)\)$`) Saturate = regexp.MustCompile(`^saturate\([0-9]+%\)$`) Sepia = regexp.MustCompile(`^sepia\(([0-9]{1,2}|100)%\)$`) Skew = regexp.MustCompile(`skew(x|y)?\(`) Span = regexp.MustCompile(`^span [0-9]+$`) Steps = regexp.MustCompile(`^steps\([ ]*[0-9]+([ ]*,[ ]*(start|end)?)\)$`) Time = regexp.MustCompile(`^[0-9]+[\.]?[0-9]*(s|ms)?$`) TransitionProp = regexp.MustCompile(`^([a-zA-Z]+,[ ]?)*[a-zA-Z]+$`) TranslateScale = regexp.MustCompile(`(translate|translate3d|translatex|translatey|translatez|scale|scale3d|scalex|scaley|scalez)\(`) URL = regexp.MustCompile(`^url\([\"\']?((https|http)[a-z0-9\.\\/_:]+[\"\']?)\)$`) ZIndex = regexp.MustCompile(`^[\-]?[0-9]+$`) )
Functions ¶
func AlignContentHandler ¶
func AlignItemsHandler ¶
func AlignSelfHandler ¶
func AllHandler ¶
func AnimationDelayHandler ¶
func AnimationHandler ¶
func AnimationNameHandler ¶
func BackgroundClipHandler ¶
func BackgroundHandler ¶
func BackgroundOriginHandler ¶
func BackgroundRepeatHandler ¶
func BackgroundSizeHandler ¶
func BaseHandler ¶
func BorderCollapseHandler ¶
func BorderHandler ¶
func BorderImageHandler ¶
func BorderImageSliceHandler ¶
func BorderImageWidthHandler ¶
func BorderRadiusHandler ¶
func BorderSideHandler ¶
func BorderSideRadiusHandler ¶
func BorderSideStyleHandler ¶
func BorderSideWidthHandler ¶
func BorderSpacingHandler ¶
func BorderStyleHandler ¶
func BorderWidthHandler ¶
func BoxShadowHandler ¶
func BoxSizingHandler ¶
func BreakBeforeAfterHandler ¶
func BreakInsideHandler ¶
func CaptionSideHandler ¶
func CaretColorHandler ¶
func ClearHandler ¶
func ClipHandler ¶
func ColorHandler ¶
func ColumnCountHandler ¶
func ColumnFillHandler ¶
func ColumnGapHandler ¶
func ColumnRuleHandler ¶
func ColumnRuleWidthHandler ¶
func ColumnSpanHandler ¶
func ColumnWidthHandler ¶
func ColumnsHandler ¶
func CursorHandler ¶
func DirectionHandler ¶
func DisplayHandler ¶
func EmptyCellsHandler ¶
func FilterHandler ¶
func FlexBasisHandler ¶
func FlexDirectionHandler ¶
func FlexFlowHandler ¶
func FlexGrowHandler ¶
func FlexHandler ¶
func FlexWrapHandler ¶
func FloatHandler ¶
func FontFamilyHandler ¶
func FontHandler ¶
func FontKerningHandler ¶
func FontSizeAdjustHandler ¶
func FontSizeHandler ¶
func FontStretchHandler ¶
func FontStyleHandler ¶
func FontSynthesisHandler ¶
func FontVariantCapsHandler ¶
func FontVariantHandler ¶
func FontWeightHandler ¶
func GetDefaultHandler ¶
func GridAreaHandler ¶
func GridAutoColumnsHandler ¶
func GridAutoFlowHandler ¶
func GridAxisStartEndHandler ¶
func GridColumnGapHandler ¶
func GridColumnHandler ¶
func GridGapHandler ¶
func GridHandler ¶
func GridRowHandler ¶
func GridTemplateHandler ¶
func GridTemplateRowsHandler ¶
func HeightHandler ¶
func HyphensHandler ¶
func ImageHandler ¶
func ImageRenderingHandler ¶
func IsolationHandler ¶
func JustifyContentHandler ¶
func LengthHandler ¶
func LetterSpacingHandler ¶
func LineBreakHandler ¶
func LineHeightHandler ¶
func ListStyleHandler ¶
func ListStyleTypeHandler ¶
func MarginHandler ¶
func MarginSideHandler ¶
func MaxHeightWidthHandler ¶
func MinHeightWidthHandler ¶
func MixBlendModeHandler ¶
func ObjectFitHandler ¶
func ObjectPositionHandler ¶
func OpacityHandler ¶
func OrderHandler ¶
func OrphansHandler ¶
func OutlineHandler ¶
func OutlineOffsetHandler ¶
func OutlineStyleHandler ¶
func OutlineWidthHandler ¶
func OverflowHandler ¶
func OverflowWrapHandler ¶
func OverflowXYHandler ¶
func PaddingHandler ¶
func PaddingSideHandler ¶
func PageBreakInsideHandler ¶
func PerspectiveHandler ¶
func PointerEventsHandler ¶
func PositionHandler ¶
func QuotesHandler ¶
func ResizeHandler ¶
func ScrollBehaviorHandler ¶
func SideHandler ¶
func TabSizeHandler ¶
func TableLayoutHandler ¶
func TextAlignHandler ¶
func TextAlignLastHandler ¶
func TextDecorationHandler ¶
func TextIndentHandler ¶
func TextJustifyHandler ¶
func TextOrientationHandler ¶
func TextOverflowHandler ¶
func TextShadowHandler ¶
func TextTransformHandler ¶
func TimingFunctionHandler ¶
func TransformHandler ¶
func TransformOriginHandler ¶
func TransformStyleHandler ¶
func TransitionDelayHandler ¶
func TransitionHandler ¶
func UnicodeBidiHandler ¶
func UserSelectHandler ¶
func VerticalAlignHandler ¶
func VisiblityHandler ¶
func WhiteSpaceHandler ¶
func WidthHandler ¶
func WordBreakHandler ¶
func WordSpacingHandler ¶
func WordWrapHandler ¶
func WritingModeHandler ¶
func ZIndexHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.