You are here

flickity.schema.yml in Flickity Carousel 8

config/schema/flickity.schema.yml

File

config/schema/flickity.schema.yml
View source
  1. flickity.group.*:
  2. type: config_entity
  3. label: 'Group'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. settings:
  12. type: mapping
  13. label: 'Settings'
  14. mapping:
  15. images_loaded:
  16. type: boolean
  17. label: 'imagesLoaded'
  18. text: 'Provides support for imagesLoaded plugin.'
  19. cell_selector:
  20. type: string
  21. label: 'Cell selector'
  22. text: 'Specify selector for cell elements.'
  23. initial_index:
  24. type: integer
  25. label: 'Initial index'
  26. text: 'Zero-based index of the initial selected cell.'
  27. accessibility:
  28. type: boolean
  29. label: 'Accessibility'
  30. text: 'Enable keyboard navigation. Users can tab to a Flickity gallery, and pressing left & right keys to change cells.'
  31. set_gallery_size:
  32. type: boolean
  33. label: 'Set gallery size'
  34. text: 'Sets the height of the gallery to the height of the tallest cell.'
  35. resize:
  36. type: boolean
  37. label: 'Resize'
  38. text: 'Adjusts sizes and positions when window is resized.'
  39. cell_align:
  40. type: string
  41. label: 'Cell align'
  42. text: 'Align cells within the gallery element.'
  43. contain:
  44. type: boolean
  45. label: 'Contain'
  46. text: 'Contains cells to gallery element to prevent excess scroll at beginning or end.'
  47. percent_position:
  48. type: boolean
  49. label: 'Percent position'
  50. text: 'Sets positioning in percent values, rather than pixel values.'
  51. right_to_left:
  52. type: boolean
  53. label: 'Right to left'
  54. text: 'Enables right-to-left layout.'
  55. draggable:
  56. type: boolean
  57. label: 'Draggable'
  58. text: 'Enables dragging and flicking.'
  59. free_scroll:
  60. type: boolean
  61. label: 'Free scroll'
  62. text: 'Enables content to be freely scrolled and flicked without aligning cells to an end position.'
  63. wrap_around:
  64. type: boolean
  65. label: 'Wrap around'
  66. text: 'At the end of cells, wrap-around to the other end for infinite scrolling.'
  67. lazy_load:
  68. type: integer
  69. label: 'Lazy load'
  70. text: 'Loads cell images when a cell is selected.'
  71. auto_play:
  72. type: integer
  73. label: 'Auto play'
  74. text: 'Automatically advances to the next cell.'
  75. watch_css:
  76. type: boolean
  77. label: 'Watch CSS'
  78. text: 'You can enable and disable Flickity with CSS.'
  79. as_nav_for:
  80. type: string
  81. label: 'As nav for'
  82. text: 'Use one Flickity gallery as navigation for another.'
  83. selected_attraction:
  84. type: float
  85. label: 'Selected attraction'
  86. text: 'Attracts the position of the slider to the selected cell. Higher attraction makes the slider move faster.'
  87. friction:
  88. type: float
  89. label: 'Friction'
  90. text: 'Slows the movement of slider. Higher friction makes the slider feel stickier and less bouncy.'
  91. free_scroll_friction:
  92. type: float
  93. label: 'Free scroll friction'
  94. text: 'Slows movement of slider when freeScroll: true. Higher friction makes the slider feel stickier.'
  95. prev_next_buttons:
  96. type: boolean
  97. label: 'Previous next buttons'
  98. text: 'Creates and enables previous & next buttons.'
  99. page_dots:
  100. type: boolean
  101. label: 'Page dots'
  102. text: 'Creates and enables page dots (pagination).'