mailgo

mailgo

  • docs
  • demo
  • browser extensions
  • GitHub

›Advanced / Other

Installation

  • Installation
  • React / Angular / Vue / Hugo
  • Next.js
  • GatsbyJS
  • TypeScript
  • WordPress
  • Magento 2
  • Browsers support
  • Skypack

Usage with mailto

  • Usage for mailto
  • Cc, bcc, subject, body
  • Keyboard commands
  • Multiple email addresses

Usage with tel

  • Usage for tel
  • Telegram
  • WhatsApp
  • Skype

Configuration

  • Configuration
  • Dark mode

Examples

  • Examples with mailto links
  • Examples with tel links

Style and a11y

  • Style and Accessibility in mailgo
  • Responsive
  • No style

Advanced / Other

  • Direct render
  • Library export(s)
  • Window functions

i18n

  • i18n in mailgo
  • Contribute in mailgo i18n

Browsers extensions

  • Browsers extensions
  • Google Chrome
  • Firefox

By the community

  • Integrations
Edit

Mailgo export(s)

Here the functions exported by the library mailgo

export {
  getMailgoTypeByElement,
  mailgoClickListener,
  mailgoCheckRender, // DEPRECATED, is now mailgoClickListener
  mailgoPreRender,
  mailgoDirectRender,
  mailgoRender,
  mailgo,
  start, // same as mailgo
};

export default mailgo;

Definitions

getMailgoTypeByElement

export function getMailgoTypeByElement(
  element: HTMLElement
): MailgoModalType | null;

// TODO: more documentation here will arrive soon!

mailgoClickListener (or DEPRECATED mailgoCheckRender)

export function mailgoClickListener(event: Event): boolean;

// TODO: more documentation here will arrive soon!

mailgoPreRender

export function mailgoPreRender(
  type: string,
  mailgoElementOrUrl: HTMLLinkElement | string
): boolean;

// TODO: more documentation here will arrive soon!

mailgoDirectRender

export function mailgoDirectRender(directUrl: string): boolean;

// TODO: more documentation here will arrive soon!

mailgoRender

export function mailgoRender(type: string): boolean;

// TODO: more documentation here will arrive soon!

mailgo

export default function mailgo(mailgoConfig?: MailgoConfig): boolean;

// TODO: more documentation here will arrive soon!

Last updated on 11/16/2020 by Matteo Manzinello
← Direct renderWindow functions →
  • Definitions
    • getMailgoTypeByElement
    • mailgoClickListener (or DEPRECATED mailgoCheckRender)
    • mailgoPreRender
    • mailgoDirectRender
    • mailgoRender
    • mailgo
mailgo
Docs
InstallationUsage (mailto:)Usage (tel:)ConfigurationExamplesStyle and Accessibilityi18n
Star
Examples
mailgo examplesmailgo Gatsby examplemailgo in create-react-appmailgo Next.js examplemailgo in Vue
More
mailgo Gatsby pluginmailgo WordPress pluginmailgo for Magento 2manzinello/mailgo on PackagistIntegrations by the community
GitHub repositories
mailgomailgo for WordPressmailgo for Magento 2mailgo for Gatsbymailgo Chrome extensionmailgo Firefox addonmailgo examplesmailgo.devmailgo in react-react-appmailgo in Next.jsmailgo in Gatsbymailgo in Vue
Browsers extensions
mailgo Chrome Extensionmailgo Firefox addon
Author
Contact mematteomanzinello.commanzinello.dev
Privacy
Privacy PolicyCookie Policy
mailgo is distributable under the terms of the MIT license, a project by matteo manzinello