3.0.2 • Published 10 months ago
@frankhoodbs/social-share-item-cmp v3.0.2
Social Share Item Component
This component is designed to create a share button or a link for various social media platforms. The component is highly customizable and can handle different types of social media platforms including Facebook, Instagram, YouTube, Pinterest, Email, and more.
Props
Name | Type | Description |
---|---|---|
data-social | string | Required. the name of the social 'facebook','twitter','linkedin','youtube','instagram','whatsapp','pinterest','email','print', 'copy' |
datais-share | boolean or string | (bool) set if the button is a share button or a link (the share is only for facebook, linkedin, pinterest and twitter) use false for copy type. Defaults to false |
data-href | string | url for external page. Defaults to an empty string. |
data-target | string | set where to open the link. Defaults to _blank . |
data-rel | string | Sets the rel attribute of the link. Defaults to an empty string. |
data-subject-mail | string | The subject of the email (only for mail). Defaults to an empty string. |
data-content-mail | string | The content of the email (only for mail). Defaults to an empty string. |
data-content-whatsapp | string | The content of the WhatsApp text (only for WhatsApp). Defaults to an empty string. |
data-share-url | string | The URL of the share. Defaults to an empty string. |
Usage/Examples
<template>
<social-share-item-cmp
data-social="facebook"
data-is-share="true"
data-share-url="https://yourwebsite.com"
>
<svg><!-- Your SVG icon here --></svg>
</social-share-item-cmp>
</template>
2.0.2
10 months ago
1.3.12
10 months ago
2.0.1
10 months ago
3.0.2
10 months ago
3.0.1
10 months ago
3.0.0
10 months ago
1.3.11
10 months ago
1.3.10
1 year ago
1.3.9
1 year ago
1.3.7
1 year ago
1.3.4
1 year ago
1.3.8
1 year ago
1.3.3
1 year ago
1.3.2
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.17
1 year ago
1.2.16
1 year ago
1.2.14
1 year ago
1.2.15
1 year ago
1.2.13
1 year ago
1.2.12
1 year ago
1.2.11
1 year ago
1.2.10
1 year ago
1.2.9
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.1.47
2 years ago
1.1.46
2 years ago
1.1.42
2 years ago
1.1.41
2 years ago
1.1.39
2 years ago
1.1.38
2 years ago
1.1.37
2 years ago
1.1.36
2 years ago
1.1.35
2 years ago
1.1.33
2 years ago
1.1.32
2 years ago
1.1.31
2 years ago