-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathSettings.yaml
44 lines (36 loc) · 1.27 KB
/
Settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Jonnitto:
PhotoSwipe:
alwaysInclude: false
includeFetch: false
includeTemplate: false
# If true, JS files are separated, so you can dynamically load Core only when the user needs it, thus reducing the size of your main bundle.
useJsModule: true
selector:
onDocument: '[instanceof Jonnitto.PhotoSwipe:Include]'
collection: '[instanceof Neos.Neos:ContentCollection]'
content: '[instanceof Jonnitto.PhotoSwipe:Include],[instanceof Jonnitto.PhotoSwipe:LightboxMixin][lightbox=true],[instanceof Carbon.Image:Lightbox][lightbox=true]'
# You can pass any option from here:
# https://photoswipe.com/options/
options:
children: a.lightbox
gallery: body
fetchOptions:
gallery: '[data-pswp-type="fetch"]'
wrappingClass: 'jonnitto-photoswipe-content'
fetchLinkAppend: '.lightbox'
templateOptions:
children: '[data-pswp-type="template"]'
gallery: body
wrappingClass: 'jonnitto-photoswipe-content'
fetchAttributeErrorMessages: 'data-pswp-type="fetch"'
additonalPswpContainerAttributes: null
Neos:
Neos:
userInterface:
translation:
autoInclude:
Jonnitto.PhotoSwipe:
- 'NodeTypes/*'
fusion:
autoInclude:
Jonnitto.PhotoSwipe: true