@livelike/custom-kit 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/livelike.js +65 -61
- package/dist/livelike.umd.cjs +25 -21
- package/package.json +1 -1
- package/readme.md +3 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -45,8 +45,8 @@ document.body.appendChild(poll);
|
|
|
45
45
|
LiveLike:
|
|
46
46
|
|
|
47
47
|
- **Header title:** the widget's question.
|
|
48
|
-
- **Header logo:**
|
|
49
|
-
`
|
|
48
|
+
- **Header logo:** set by `sponsor_type`: the Goal sponsor logo for
|
|
49
|
+
`goal_sponsor`, the Save sponsor logo for `save_sponsor`, otherwise none.
|
|
50
50
|
- **Hero image:** the widget's sponsor logo.
|
|
51
51
|
- **Option name and photo:** each option's description and image.
|
|
52
52
|
- **Voting close time:** the widget's `interactive_until`.
|
|
@@ -98,7 +98,7 @@ Widget attributes are `{ key, value }` pairs set on the widget in LiveLike
|
|
|
98
98
|
| `info_text` | Text | Body of the info popup. Needs `info_title` too. | No info icon or popup. |
|
|
99
99
|
| `secondary_poll_title` | Text | Label of a second button below "Vote again" in the "Voting submitted!" popup. Needs `secondary_poll_url` too. | Button is hidden. |
|
|
100
100
|
| `secondary_poll_url` | URL | Page the second button opens in a new tab. Needs `secondary_poll_title` too. | Button is hidden. |
|
|
101
|
-
| `sponsor_type` | `save_sponsor` |
|
|
101
|
+
| `sponsor_type` | `goal_sponsor` or `save_sponsor` | Header logo: `goal_sponsor` shows the AT&T logo, `save_sponsor` shows the Save sponsor logo. Any other value is ignored. | No header logo. |
|
|
102
102
|
| `options_theme` | `light` | Shows the options list on a white background with dark text; a selected option turns black with white text. Any other value is ignored. | Dark options list. |
|
|
103
103
|
|
|
104
104
|
A widget left open on screen updates itself at each of these times, so viewers
|