PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.8
GiveWP – Donation Plugin and Fundraising Platform v4.16.8
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
give / blocks / donation-form / data / attributes.js
attributes.js
42 lines 705 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Block Attributes
3 */
4 const blockAttributes = {
5 id: {
6 type: 'number',
7 default: 0,
8 },
9 prevId: {
10 type: 'number',
11 },
12 displayStyle: {
13 type: 'string',
14 default: 'onpage',
15 },
16 continueButtonTitle: {
17 type: 'string',
18 default: 'Donate now',
19 },
20 showTitle: {
21 type: 'boolean',
22 default: true,
23 },
24 showGoal: {
25 type: 'boolean',
26 default: true,
27 },
28 contentDisplay: {
29 type: 'boolean',
30 default: true,
31 },
32 showContent: {
33 type: 'string',
34 default: 'above',
35 },
36 blockId: {
37 type: 'string',
38 },
39 };
40
41 export default blockAttributes;
42