enums.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /**
  2. * An enum represents the different content types of a step and their loading mechanisms.
  3. *
  4. * @class contentMode
  5. * @for steps
  6. **/
  7. var contentMode = $.fn.steps.contentMode = {
  8. /**
  9. * HTML embedded content
  10. *
  11. * @readOnly
  12. * @property html
  13. * @type Integer
  14. * @for contentMode
  15. **/
  16. html: 0,
  17. /**
  18. * IFrame embedded content
  19. *
  20. * @readOnly
  21. * @property iframe
  22. * @type Integer
  23. * @for contentMode
  24. **/
  25. iframe: 1,
  26. /**
  27. * Async embedded content
  28. *
  29. * @readOnly
  30. * @property async
  31. * @type Integer
  32. * @for contentMode
  33. **/
  34. async: 2
  35. };
  36. /**
  37. * An enum represents the orientation of the steps navigation.
  38. *
  39. * @class stepsOrientation
  40. * @for steps
  41. **/
  42. var stepsOrientation = $.fn.steps.stepsOrientation = {
  43. /**
  44. * Horizontal orientation
  45. *
  46. * @readOnly
  47. * @property horizontal
  48. * @type Integer
  49. * @for stepsOrientation
  50. **/
  51. horizontal: 0,
  52. /**
  53. * Vertical orientation
  54. *
  55. * @readOnly
  56. * @property vertical
  57. * @type Integer
  58. * @for stepsOrientation
  59. **/
  60. vertical: 1
  61. };
  62. /**
  63. * An enum that represents the various transition animations.
  64. *
  65. * @class transitionEffect
  66. * @for steps
  67. **/
  68. var transitionEffect = $.fn.steps.transitionEffect = {
  69. /**
  70. * No transition animation
  71. *
  72. * @readOnly
  73. * @property none
  74. * @type Integer
  75. * @for transitionEffect
  76. **/
  77. none: 0,
  78. /**
  79. * Fade in transition
  80. *
  81. * @readOnly
  82. * @property fade
  83. * @type Integer
  84. * @for transitionEffect
  85. **/
  86. fade: 1,
  87. /**
  88. * Slide up transition
  89. *
  90. * @readOnly
  91. * @property slide
  92. * @type Integer
  93. * @for transitionEffect
  94. **/
  95. slide: 2,
  96. /**
  97. * Slide left transition
  98. *
  99. * @readOnly
  100. * @property slideLeft
  101. * @type Integer
  102. * @for transitionEffect
  103. **/
  104. slideLeft: 3
  105. };