AppMare.MauiWeb.Mopups
1.0.5
dotnet add package AppMare.MauiWeb.Mopups --version 1.0.5
NuGet\Install-Package AppMare.MauiWeb.Mopups -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AppMare.MauiWeb.Mopups" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AppMare.MauiWeb.Mopups" Version="1.0.5" />
<PackageReference Include="AppMare.MauiWeb.Mopups" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AppMare.MauiWeb.Mopups --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AppMare.MauiWeb.Mopups, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AppMare.MauiWeb.Mopups@1.0.5
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AppMare.MauiWeb.Mopups&version=1.0.5
#tool nuget:?package=AppMare.MauiWeb.Mopups&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AppMare.MauiWeb.Mopups — Mopups on the web
This is not a new popup library. It is web support for
Mopups. You keep using Mopups and its API (PopupPage,
MopupService.Instance, the scale, fade and move animations). This package makes that same code
run in the visitor's browser when your .NET MAUI app runs as a website with
MauiWeb.
Setup
Your MAUI app already references Mopups. Add this package to the web host and turn it on after
UseMauiWeb():
dotnet add package AppMare.MauiWeb.Mopups
app.MapMauiWeb(() => MauiProgram.CreateMauiApp(b => b
.UseMauiWeb()
.UseMauiWebMopups()));
ConfigureMopups() can stay for the phone apps. No other changes.
What works in the browser
MopupService.Instance.PushAsync,PopAsyncandPopAllAsync, with stacked popups.- Background taps:
CloseWhenBackgroundIsClickedandBackgroundClicked. - The scale, fade and move animations, played by the browser.
- The page underneath gets no
AppearingorDisappearing, as on phones. - Every visitor has their own popups. Escape works like the back button.
See it running
- Live gallery (every control, with its source): https://mauiweb.appmare.com/gallery.html
- Sample apps running as websites, such as Maui Planets: https://live.mauiweb.appmare.com/planets (all ten in the gallery's Samples section; source at https://github.com/appmare)
Links
- Live demo: https://live.mauiweb.appmare.com/mopups
- Docs: https://mauiweb.appmare.com/docs.html#addons
- MauiWeb is a commercial product by AppMare, free for local development. Licence and pricing: https://mauiweb.appmare.com/pricing.html
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- AppMare.MauiWeb (>= 1.0.5)
- Microsoft.Maui.Controls.Core (>= 11.0.0)
- Mopups (>= 1.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.