1.4.1 • Published 2 months ago

rad_share v1.4.1

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

Radiator Library - Share Widget

 

Installation

To start using this package, you can install via jsDelivr:

https://cdn.jsdelivr.net/npm/rad_share/dist/rad-share.js

or you can directly download from the /dist folder. Place the script above the closing body tag.

 

Configuration

By default, Radiator Share will load the default config with all services. You can configure specific services like so:

<script>
 window.rad_share_config = {
    services: [
        'facebook',
        'twitter',
        'linkedin',
        'whatsapp',
        'reddit',        
        'email'
    ]
}
</script>

Place this configuration script before the rad-share.js script.

To start using the popup, append the attribute data-rad-share to any element you wish to toggle the popup.

<button type='button' data-rad-share>
    Share
</button>

picture of popup widget

 

Inline Share

You can also load inline widgets instead of a popup. To do so, create an element with:

<div id='inline-root'></div>

picture of inline widget

 

Developer - Radiator Digital

1.3.4

2 months ago

1.3.3

2 months ago

1.4.1

2 months ago

1.3.2

2 months ago

1.3.1

2 months ago

1.3.0

2 months ago

1.2.5

2 months ago

1.2.4

3 months ago

1.2.0

3 months ago

1.1.1

3 months ago

1.2.3

3 months ago

1.2.2

3 months ago

1.2.1

3 months ago

1.1.0

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.1.3

3 months ago

0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago