The Share button lets people add a personalized message to links before sharing on their timeline, in groups, or to their friends via a Facebook Message.
Official Facebook documentation for this class can be found here.
Usage<fb-share href="https://github.com/zyra/ngx-facebook-sdk/"></fb-share>
Inputs
href
(string) The absolute URL of the page that will be shared. Defaults to the current URL.
Selects one of the different layouts that are available for the plugin. Can be one of box_count
, button_count
, button
. Defaults to icon_link
.
If set to true, the share button will open the share dialog in an iframe (instead of a popup) on top of your website on mobile. This option is only available for mobile, not desktop. Defaults to false
.
The button is offered in 2 sizes i.e. large and small. Defaults to small
.