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 / image-reveal / block.json

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

134 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/image-reveal",
5 "title": "Image Reveal",
6 "description": "Image with a curtain reveal effect triggered on hover or scroll, with overlay label and caption.",
7 "category": "bkbg-effects",
8 "icon": "visibility",
9 "keywords": [
10 "image",
11 "reveal",
12 "curtain",
13 "animation",
14 "hover",
15 "scroll"
16 ],
17 "supports": {
18 "html": false,
19 "align": [
20 "wide",
21 "full"
22 ]
23 },
24 "attributes": {
25 "imageUrl": {
26 "type": "string",
27 "default": ""
28 },
29 "imageId": {
30 "type": "number",
31 "default": 0
32 },
33 "imageAlt": {
34 "type": "string",
35 "default": ""
36 },
37 "trigger": {
38 "type": "string",
39 "default": "scroll"
40 },
41 "direction": {
42 "type": "string",
43 "default": "left"
44 },
45 "revealStyle": {
46 "type": "string",
47 "default": "sweep"
48 },
49 "aspectRatio": {
50 "type": "string",
51 "default": "16-9"
52 },
53 "borderRadius": {
54 "type": "number",
55 "default": 8
56 },
57 "showOverlayLabel": {
58 "type": "boolean",
59 "default": true
60 },
61 "overlayLabel": {
62 "type": "string",
63 "default": "Hover to reveal"
64 },
65 "revealedLabel": {
66 "type": "string",
67 "default": ""
68 },
69 "showRevealedLabel": {
70 "type": "boolean",
71 "default": false
72 },
73 "caption": {
74 "type": "string",
75 "default": ""
76 },
77 "showCaption": {
78 "type": "boolean",
79 "default": false
80 },
81 "overlayOpacity": {
82 "type": "number",
83 "default": 75
84 },
85 "animationDuration": {
86 "type": "number",
87 "default": 600
88 },
89 "revealOnce": {
90 "type": "boolean",
91 "default": true
92 },
93 "scrollThreshold": {
94 "type": "number",
95 "default": 30
96 },
97 "overlayBg": {
98 "type": "string",
99 "default": "#1e1b4b"
100 },
101 "overlayTextColor": {
102 "type": "string",
103 "default": "#ffffff"
104 },
105 "captionColor": {
106 "type": "string",
107 "default": "#6b7280"
108 },
109 "labelSize": {
110 "type": "number",
111 "default": 18
112 },
113 "maxWidth": {
114 "type": "number",
115 "default": 0
116 },
117 "captionSize": {
118 "type": "number",
119 "default": 13
120 },
121 "labelTypo": {
122 "type": "object",
123 "default": {}
124 },
125 "captionTypo": {
126 "type": "object",
127 "default": {}
128 }
129 },
130 "editorScript": "bkbg-image-reveal-editor",
131 "style": "bkbg-image-reveal-style",
132 "viewScript": "bkbg-image-reveal-frontend"
133 }
134