Guest User

Untitled

a guest
Oct 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. // Attribute structure
  2. {
  3. key: String, // Used to uniquely identify attribute, may affect how it is animated
  4. highlight: Object, // Highlight to display for the attribute (reference structure below)
  5. indicator: Object, // Indicator to display for the attribute (reference structure below)
  6. contentStyle: Object, // Style object to apply to day cell content
  7. contentHoverStyle: Object, // Style object to apply to day cell content when hovered (merged with contentStyle)
  8. dates: Array[Date or Object], // List of date like values or date ranges (w/ start and end date) to apply the attribute
  9. order: Number // By default, attributes are layered to display the most data possible, but this may be used for manual ordering
  10. }
  11.  
  12. // Highlight structure
  13. {
  14. height: String, // Default: "1.8rem"
  15. backgroundColor: String, // Default: undefined
  16. borderColor: String, // Default: undefined
  17. borderWidth: String, // Default: "0"
  18. borderStyle: String, // Default: "solid"
  19. borderRadius: String // Default: "1.8rem"
  20. }
  21.  
  22. // Indicator structure
  23. {
  24. diameter: String, // Default: "5px"
  25. backgroundColor: String, // Default: undefined
  26. borderColor: String, // Default: undefined
  27. borderWidth: String, // Default: "0"
  28. borderStyle: String, // Default: "solid"
  29. borderRadius: String, // Default: "50%"
  30. }
Add Comment
Please, Sign In to add comment