45 lines
951 B
Markdown
45 lines
951 B
Markdown
# 💌 mailgo - a different mailto (WIP)
|
|
|
|

|
|
(see it in action! <https://mailgo.js.org>)
|
|
|
|
## what?
|
|
|
|
mailgo will substitute all the `mailto:` links with the **mailgo modal**
|
|
|
|
<img src="assets/img/screen-1.png" alt="mailgo modal" width="200"/>
|
|
|
|
## installation
|
|
|
|
```
|
|
<script src="https://cdn.jsdelivr.net/npm/mailgo/dist/mailgo.min.js"></script>
|
|
```
|
|
|
|
or
|
|
|
|
```
|
|
<script src="https://cdn.jsdelivr.net/npm/mailgo@latest/dist/mailgo.min.js"></script>
|
|
```
|
|
|
|
or
|
|
|
|
```
|
|
<script src="https://cdn.jsdelivr.net/npm/mailgo@[VERSION]/dist/mailgo.min.js"></script>
|
|
```
|
|
|
|
specifying `[VERSION]`
|
|
|
|
### exclude a mailto
|
|
|
|
to exclude a mailto link add to the `<a>` element the class `no-mailgo` like in this example:
|
|
|
|
```
|
|
<a class="no-mailgo" href="mailto:matteo@manzinello.dev">matteo@manzinello.dev</a>
|
|
```
|
|
|
|
## docs
|
|
|
|
<https://mailgo.js.org>
|
|
|
|
[](https://nodei.co/npm/mailgo/)
|