You are here

photoswipe.schema.yml in PhotoSwipe 8

config/schema/photoswipe.schema.yml

File

config/schema/photoswipe.schema.yml
View source
  1. photoswipe.settings:
  2. type: mapping
  3. label: Settings
  4. mapping:
  5. photoswipe_always_load_non_admin:
  6. type: boolean
  7. options:
  8. # index: integer
  9. showAnimationDuration:
  10. type: integer
  11. label: 'Show Animation Duration'
  12. hideAnimationDuration:
  13. type: integer
  14. label: 'Hide Animation Duration'
  15. showHideOpacity:
  16. type: boolean
  17. label: 'Show Hide Opacity'
  18. bgOpacity:
  19. type: float
  20. label: 'Background Opacity'
  21. spacing:
  22. type: float
  23. label: 'Spacing'
  24. allowPanToNext:
  25. type: boolean
  26. label: 'Allow Pan to Next'
  27. maxSpreadZoom:
  28. type: integer
  29. label: 'Max Spread Zoom'
  30. loop:
  31. type: boolean
  32. label: 'Loop'
  33. pinchToClose:
  34. type: boolean
  35. label: 'Pinch to Close'
  36. closeOnScroll:
  37. type: boolean
  38. label: 'Close on Scroll'
  39. closeOnVerticalDrag:
  40. type: boolean
  41. label: 'Close on Vertical Drag'
  42. mouseUsed:
  43. type: boolean
  44. label: 'Mouse Used'
  45. escKey:
  46. type: boolean
  47. label: 'Escape Key'
  48. arrowKeys:
  49. type: boolean
  50. label: 'Arrow Keys'
  51. history:
  52. type: boolean
  53. label: 'History'
  54. # galleryUID: Integer
  55. # galleryPIDs: Boolean
  56. errorMsg:
  57. type: string
  58. label: 'Error Message'
  59. preload:
  60. type: array
  61. label: 'Preload'
  62. mainClass:
  63. type: string
  64. label: 'Main Class'
  65. focus:
  66. type: boolean
  67. label: 'Focus'
  68. modal:
  69. type: boolean
  70. label: 'Modal'