Skip to content

Instantly share code, notes, and snippets.

@chandu0101
Created February 10, 2015 22:58
Show Gist options
  • Save chandu0101/482ddd4381e09dd12de4 to your computer and use it in GitHub Desktop.
Save chandu0101/482ddd4381e09dd12de4 to your computer and use it in GitHub Desktop.
scalajs-react custom tags style
/**
* Created by chandrasekharkode
*
* Eventually these should be copied to scalajs-react core
*/
trait RCustomTags {
/* styles */
val webkitTransform = "webkitTransform".reactStyle
val webkitTransition = "webkitTransition".reactStyle
val msTransform = "msTransform".reactStyle
val mozTransform = "mozTransform".reactStyle
val webkitBackgroundClip = "webkitBackgroundClip".reactStyle
val webkitBoxShadow = "webkitBoxShadow".reactStyle
val webkitAppearance = "webkitAppearance".reactStyle
val webkitOverflowScrolling = "webkitOverflowScrolling".reactStyle
val alignItems = "alignItems".reactStyle
val msFlexAlign = "msFlexAlign".reactStyle
val webkitAlignItems = "webkitAlignItems".reactStyle
val webkitBoxAlign = "webkitBoxAlign".reactStyle
val msFlexDirection = "msFlexDirection".reactStyle
val webkitBoxDirection = "webkitBoxDirection".reactStyle
val webkitBoxOrient = "webkitBoxOrient".reactStyle
val webkitFlexDirection = "webkitFlexDirection".reactStyle
val flexDirection = "flexDirection".reactStyle
val mozBorderRadius = "mozBorderRadius".reactStyle
val mozBoxShadow = "mozBoxShadow".reactStyle
val webkitBorderRadius = "webkitBorderRadius".reactStyle
val MsFlexDirection = "MsFlexDirection".reactStyle
val MsFlexPack = "MsFlexPack".reactStyle
val WebkitBoxDirection = "WebkitBoxDirection".reactStyle
val WebkitBoxOrient = "WebkitBoxOrient".reactStyle
val WebkitBoxPack = "WebkitBoxPack".reactStyle
val WebkitFlexDirection = "WebkitFlexDirection".reactStyle
val WebkitJustifyContent = "WebkitJustifyContent".reactStyle
val justifyContent = "justifyContent".reactStyle
val MsFlexWrap = "MsFlexWrap".reactStyle
val WebkitFlexWrap = "WebkitFlexWrap".reactStyle
val MsFlex = "MsFlex".reactStyle
val WebkitBoxFlex = "WebkitBoxFlex".reactStyle
val WebkitFlex = "WebkitFlex".reactStyle
val flex = "flex".reactStyle
val alignSelf = "alignSelf".reactStyle
val flexWrap = "flexWrap".reactStyle
val lineHeight2 = "lineHeight".reactStyle
val MsFlexItemAlign = "MsFlexItemAlign".reactStyle
val WebkitAlignSelf = "WebkitAlignSelf".reactStyle
/* Attributes */
val ariaLabel = "aria-label".reactAttr
val onMouseEnter = "onMouseEnter".reactAttr
val onMouseLeave = "onMouseLeave".reactAttr
val onTouchEnd = "onTouchEnd".reactAttr
val onTouchStart = "onTouchStart".reactAttr
val points = "points".reactAttr
val dsvg = "d".reactAttr
val defaultChecked = "defaultChecked".reactAttr
/* Tags */
val svgtag = "svg".reactTag
val polygon = "polygon".reactTag
val path = "path".reactTag
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment