custom-css-attributes.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--
  2. custom-css-attributes.xml can define the CSS attributes of your
  3. own CustomItems.
  4. Each attribute can have following attributes:
  5. name (required): the name of the attribute, e.g. "icon-image".
  6. description (optional): the description of the attribute.
  7. type (optional): the type of the attribute, either "string", "integer",
  8. "color", "boolean" or "style". Defaults to "string".
  9. appliesTo (optional): A comma-separated list of classes for which the attribute can
  10. be used, e.g. "MyCustomItem".
  11. default (optional): The default-value of the attribute.
  12. value (optional): All allowed values in a comma-separated list.
  13. -->
  14. <attributes>
  15. <attribute
  16. name="tabitem-left-arrow"
  17. type="imageurl"
  18. appliesTo="TabItem"
  19. description="Left arrow icon for tabitem"
  20. />
  21. <attribute
  22. name="tabitem-right-arrow"
  23. type="imageurl"
  24. appliesTo="TabItem"
  25. description="Right arrow icon for tabitem"
  26. />
  27. <attribute
  28. name="tabitem-roundtrip"
  29. type="boolean"
  30. appliesTo="TabItem"
  31. description="Is the tab navigation wrap-around?"
  32. default="false"
  33. />
  34. <attribute
  35. name="tabitem-activestyle"
  36. type="style"
  37. appliesTo="TabItem"
  38. description="Style for the active tab"
  39. />
  40. <attribute
  41. name="tabitem-inactivestyle"
  42. type="style"
  43. appliesTo="TabItem"
  44. description="Style for the inactive tab"
  45. />
  46. <attribute
  47. name="tabitem-scrolling-indicator-color"
  48. type="color"
  49. appliesTo="TabItem"
  50. description="Scrolling indicator color"
  51. />
  52. <attribute
  53. name="tabitem-arrow-y-offset"
  54. type="integer"
  55. appliesTo="TabItem"
  56. description="Arrow Y offset"
  57. />
  58. <attribute
  59. name="tabitem-arrow-x-offset"
  60. type="integer"
  61. appliesTo="TabItem"
  62. description="Arrow X offset"
  63. />
  64. <attribute
  65. name="tabitem-tab-y-offset"
  66. type="integer"
  67. appliesTo="TabItem"
  68. description="TabItem Y offset"
  69. />
  70. </attributes>