Substantive.Blazor.WebShare 9.4.0-build20260403r7
WebShare is a library to help visitors share website content to their social profiles in easiest way.
List of Components / Extensions
Native Sharing (Web Share API)
The sharing widget integrate with the OS sharing UI with the Web Share API. Web apps can use the same system-provided share capabilities as platform-specific apps.
Twitter Sharing
Tweet a content with caption, link, hashtags and metion to the account.
Facebook Sharing
Share a content on Facebook using anchor text share link.
Usage
Add the following to the top of component you want to use it on:
using SocialMediaSharingBlazor;
[Inject]
private IWebShare WebShare { get; set; }
Native Sharing (Web Share API)
private async Task OnShareButtonClickAsync(MouseEventArgs eventArgs)
{
WebShare.ShareWithNativeWidgetAsync(
title: Title,
text: SharingCaption,
url: SharingUrl);
}
Twitter Sharing
private async Task OnShareButtonClickAsync(MouseEventArgs eventArgs)
{
WebShare.ShareOnTwitterAsync(
text: SharingCaption,
url: SharingUrl,
hashtags: SharingHashtags,
via: SharingMention);
}
Facebook Sharing
private async Task OnShareButtonClickAsync(MouseEventArgs eventArgs)
{
WebShare.ShareOnFacebookAsync(
url: SharingUrl
}
Showing the top 20 packages that depend on Substantive.Blazor.WebShare.
| Packages | Downloads |
|---|---|
|
Substantive.AppComponent.WebShare
Blazor widget components that help users to share content (such as links, text, images, or other media) directly from the web platform to other applications or services.
|
13 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor components.
|
3 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor components.
|
6 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor components.
|
7 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor components.
|
8 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor components.
|
13 |
|
Substantive.Metapackage.BlazorComponents
A metapackage contains all Blazor essential building blocks. It packed standalone Blazor components and extensions that often use such as Navigation, Exception Handling, Localization, etc,.
|
8 |
|
Substantive.SubstantiveBlazor.Display
A collection of Blazor display components for the Substantive Design System.
|
6 |
|
Substantive.SubstantiveBlazor.Display
A collection of Blazor display components for the Substantive Design System.
|
27 |
|
Substantive.SubstantiveBlazor.Display
A collection of Blazor display components for the Substantive Design System.
|
31 |
.NET 10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.5)
- Substantive.WebUtilities (>= 9.17.28-build20260331R1)