PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / before-after / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/before-after/block.json

164 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/before-after",
5 "title": "Before/After Slider",
6 "category": "bkbg-media",
7 "icon": "image-flip-horizontal",
8 "description": "Compare two images with a draggable slider handle.",
9 "keywords": [
10 "before after",
11 "comparison",
12 "slider",
13 "images",
14 "split"
15 ],
16 "textdomain": "blockenberg",
17 "editorScript": "bkbg-before-after-editor",
18 "editorStyle": "bkbg-before-after-style",
19 "style": "bkbg-before-after-style",
20 "viewScript": "bkbg-before-after-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "beforeImage": {
32 "type": "object",
33 "default": {
34 "id": 0,
35 "url": "",
36 "alt": ""
37 }
38 },
39 "afterImage": {
40 "type": "object",
41 "default": {
42 "id": 0,
43 "url": "",
44 "alt": ""
45 }
46 },
47 "startPosition": {
48 "type": "number",
49 "default": 50
50 },
51 "orientation": {
52 "type": "string",
53 "default": "horizontal"
54 },
55 "showLabels": {
56 "type": "boolean",
57 "default": true
58 },
59 "beforeLabel": {
60 "type": "string",
61 "default": "Before"
62 },
63 "afterLabel": {
64 "type": "string",
65 "default": "After"
66 },
67 "labelPosition": {
68 "type": "string",
69 "default": "top"
70 },
71 "labelBg": {
72 "type": "string",
73 "default": "rgba(0,0,0,0.55)"
74 },
75 "labelColor": {
76 "type": "string",
77 "default": "#ffffff"
78 },
79 "labelSize": {
80 "type": "number",
81 "default": 13
82 },
83 "labelTypo": {
84 "type": "object",
85 "default": {}
86 },
87 "labelRadius": {
88 "type": "number",
89 "default": 6
90 },
91 "handleStyle": {
92 "type": "string",
93 "default": "circle"
94 },
95 "handleSize": {
96 "type": "number",
97 "default": 44
98 },
99 "handleIcon": {
100 "type": "object",
101 "default": {
102 "type": "dashicon",
103 "value": "leftright"
104 }
105 },
106 "handleIconSize": {
107 "type": "number",
108 "default": 18
109 },
110 "handleBg": {
111 "type": "string",
112 "default": "#007cba"
113 },
114 "handleColor": {
115 "type": "string",
116 "default": "#ffffff"
117 },
118 "lineColor": {
119 "type": "string",
120 "default": "rgba(255,255,255,0.95)"
121 },
122 "lineWidth": {
123 "type": "number",
124 "default": 2
125 },
126 "handleHoverAnim": {
127 "type": "boolean",
128 "default": false
129 },
130 "handleHoverAnimType": {
131 "type": "string",
132 "default": "pulse"
133 },
134 "handleHoverAnimDuration": {
135 "type": "number",
136 "default": 650
137 },
138 "handleHoverScale": {
139 "type": "boolean",
140 "default": true
141 },
142 "handleHoverScaleAmount": {
143 "type": "number",
144 "default": 1.08
145 },
146 "borderRadius": {
147 "type": "number",
148 "default": 12
149 },
150 "shadow": {
151 "type": "boolean",
152 "default": false
153 },
154 "aspect": {
155 "type": "string",
156 "default": "auto"
157 },
158 "minHeight": {
159 "type": "number",
160 "default": 260
161 }
162 }
163 }
164