Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PermalinkShareService

Index

Properties

$http_: IHttpService
gmfShortenerCreateUrl_: string

Methods

  • Get a short URL of the permalink by calling the url shortener service.

    • If no shortener API url have been specified, it returns the permalink itself.

    Parameters

    • url: string

      the permalink

    Returns ShortenerAPIResponse | IHttpPromise<void>

    an object containing the permalink not shortened or the promise attached to the shortener API request

  • sendShortUrl(shortUrl: string, email: string, opt_message: string): IHttpPromise<void>
  • Send the short permalink to the email provided

    • If email is provided, the short permalink will be sent to this email

    Parameters

    • shortUrl: string

      the short permalink to send

    • email: string

      the email to which the short url must be send

    • opt_message: string

    Returns IHttpPromise<void>

    the promise attached to the shortener API request

Generated using TypeDoc