SmartShare

SmartShare

# new SmartShare()

Methods

# (static) create(params)

Create and display a Smart Share.
Parameters:
Name Type Description
params Object
Properties
Name Type Description
target string ID of the div where the Smart Share will be shown.
options Object Customization options.
Properties
Name Type Description
inviteText string Text to include with the invite link.
emailSubject string E-mail subject when sharing via e-mail.
twitterVia string Twitter account to include at the end of the tweet.
customData Object.<string, string> Custom data attached to the Smart Invite.