Developers

Provider

Whenever you're dealing with a provider in your template, you're actually working with a Provider object.

Attributes

AttributeDescription
nameThe name of the provider.
handleThe handle of the provider.
primaryColorThe primary brand color of the provider.
iconThe SVG icon of the provider.

Methods

MethodDescription
getShareUrl(url, text, params)The share URL unique to each provider.
getShareButton(options)Returns the Share Button.
renderShareButton(options)Returns the rendered HTML for the Share Button.
getButton(options)Returns the Button.
renderButton(options)Returns the rendered HTML for the Button.