add-to-calendar-button 2.2.10 → 2.3.0
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/README.md +12 -12
- package/dist/atcb.js +8 -3
- package/dist/commonjs/index.js +524 -267
- package/dist/module/index.js +524 -267
- package/index.d.ts +4 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://app.codacy.com/gh/add2cal/add-to-calendar-button/dashboard)
|
|
4
4
|
[](https://www.npmjs.com/package/add-to-calendar-button)
|
|
5
5
|
[](https://www.npmjs.com/package/add-to-calendar-button)
|
|
6
|
-
[](https://www.jsdelivr.com/package/npm/add-to-calendar-button)
|
|
6
|
+
[](https://www.jsdelivr.com/package/npm/add-to-calendar-button?tab=stats)
|
|
7
7
|

|
|
8
8
|
|
|
9
9
|
<br />
|
|
@@ -26,7 +26,7 @@ The script, since it is a web component, integrates easily with any usual HTML w
|
|
|
26
26
|
|
|
27
27
|

|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Works with **all modern browsers** (Chrome, Edge, Firefox, Safari) on **Windows, Mac, Android, and iOS** as well as rather restricted webview environments like the **Instagram** in-app browser.
|
|
30
30
|
|
|
31
31
|
<br /><br />
|
|
32
32
|
|
|
@@ -40,6 +40,12 @@ See [add-to-calendar-button.com](https://add-to-calendar-button.com/) for a live
|
|
|
40
40
|
|
|
41
41
|
And remember to [⭐ **star** this repository](#) in order to stay up-to-date and save it for later! 🤗
|
|
42
42
|
|
|
43
|
+
<br />
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
<br />
|
|
48
|
+
|
|
43
49
|
## ✨ Features
|
|
44
50
|
|
|
45
51
|
Simple and convenient integration of 1 or many buttons, configurable directly within the HTML code.
|
|
@@ -73,7 +79,7 @@ Simple and convenient integration of 1 or many buttons, configurable directly wi
|
|
|
73
79
|
- Taking care of all those edge cases, where some scenarios do not support specific setups (like WebView blocking downloads); utilizing beautiful user guidance workarounds.
|
|
74
80
|
- Auto-generated Schema.org rich (structured) data for better SEO.
|
|
75
81
|
- Full support for mouse, touch, or keyboard input (W3C WAI compliant).
|
|
76
|
-
- Supporting 20+ languages, incl. RTL text for Arabic; but also custom labels and text blocks (i18n).
|
|
82
|
+
- Supporting 20+ languages, incl. RTL text for Arabic & Persian; but also custom labels and text blocks (i18n).
|
|
77
83
|
|
|
78
84
|
### And much more
|
|
79
85
|
|
|
@@ -213,8 +219,6 @@ A button can be easily created by using the respective custom element.
|
|
|
213
219
|
|
|
214
220
|
You can then configure the button by simply adding the options as attributes to it. Boolean values (true/false) can be set as `optionName="true"` or simply by adding `optionName` to the tag. Not setting it at all would be automatically translate to "false".
|
|
215
221
|
|
|
216
|
-
Theoretically, you could also add all the configuration as JSON structured String by placing this string as the TextContent of the tag. This is mainly due to backwards compatibility reasons and no longer recommended, since it also does not detect changes!
|
|
217
|
-
|
|
218
222
|
<br />
|
|
219
223
|
|
|
220
224
|
### Minimal structure (required)
|
|
@@ -255,15 +259,9 @@ A time zone is not required, but recommended.
|
|
|
255
259
|
</add-to-calendar-button>
|
|
256
260
|
```
|
|
257
261
|
|
|
258
|
-
<br />
|
|
259
|
-
|
|
260
|
-
You can find more examples as well as an interactive playground at the demo page: [add-to-calendar-button.com](https://add-to-calendar-button.com).
|
|
261
|
-
|
|
262
262
|
<br /><br />
|
|
263
263
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Find all information about the available attributes and how to configure specific features on the demo page at [add-to-calendar-button.com/configuration](https://add-to-calendar-button.com/configuration).
|
|
264
|
+
[More Examples](https://add-to-calendar-button.com/examples) • [Full Configuration Documentation](https://add-to-calendar-button.com/configuration)
|
|
267
265
|
|
|
268
266
|
<br />
|
|
269
267
|
|
|
@@ -326,6 +324,8 @@ In doubt, simply ask and we find a way. :)
|
|
|
326
324
|
<a href="https://github.com/bryan-brancotte"><img src="https://avatars.githubusercontent.com/u/11556772?v=4" title="bryan-brancotte" width="60" height="60"></a>
|
|
327
325
|
<a href="https://github.com/nticaric"><img src="https://avatars.githubusercontent.com/u/824840?v=4" title="nticaric" width="60" height="60"></a>
|
|
328
326
|
<a href="https://github.com/Ortovoxx"><img src="https://avatars.githubusercontent.com/u/56805259?v=4" title="Ortovoxx" width="60" height="60"></a>
|
|
327
|
+
<a href="https://github.com/Goudarz"><img src="https://avatars.githubusercontent.com/u/3191949?v=4" title="Goudarz" width="60" height="60"></a>
|
|
328
|
+
<a href="https://github.com/ragnarkurm"><img src="https://avatars.githubusercontent.com/u/5205088?v=4" title="Ragnar Kurm" width="60" height="60"></a>
|
|
329
329
|
<a href="https://github.com/emilebosch"><img src="https://avatars.githubusercontent.com/u/303135?v=4" title="emilebosch" width="60" height="60"></a>
|
|
330
330
|
<a href="https://github.com/killerrin"><img src="https://avatars.githubusercontent.com/u/3269687?v=4" title="killerrin" width="60" height="60"></a>
|
|
331
331
|
<a href="https://github.com/acm-will"><img src="https://avatars.githubusercontent.com/u/103984058?v=4" title="acm-will" width="60" height="60"></a>
|