OSK.Maui.Screens.Mopups
0.0.1
See the version list below for details.
dotnet add package OSK.Maui.Screens.Mopups --version 0.0.1
NuGet\Install-Package OSK.Maui.Screens.Mopups -Version 0.0.1
<PackageReference Include="OSK.Maui.Screens.Mopups" Version="0.0.1" />
paket add OSK.Maui.Screens.Mopups --version 0.0.1
#r "nuget: OSK.Maui.Screens.Mopups, 0.0.1"
// Install OSK.Maui.Screens.Mopups as a Cake Addin #addin nuget:?package=OSK.Maui.Screens.Mopups&version=0.0.1 // Install OSK.Maui.Screens.Mopups as a Cake Tool #tool nuget:?package=OSK.Maui.Screens.Mopups&version=0.0.1
OSK.Maui.Screens
Screens is the core library that handles screen routing, registration, and other related management responsibilities. To add
the core services to the dependency container, consumers can use either the MauiAppBuilderExtensions.AddScreenNavigation
or the ServiceCollectionExtensions.AddScreenNavigation
. The main goal is to provide a common set of logic that can be used
to interact with popups and screens of different types with a single source vs. needing to access them directly.
It is important that any page, popup, or other screen wanting to be navigated to has been registered with the internal library
using one of the AddScreen
or AddPopupHandler
methods in the ServiceCollectionExtensions
. These extensions will require that
consuming libraries have inherited IScreen
or IScreenPopup
respectively, when the methods are called.
The library will throw errors in the event this is not the case.
OSK.Maui.Screens.Blazor
This adds an integration for screen and popup related management using blazor components that are used with Maui Blazor Hybrid applications.
Consumers should add the blazor handlers using the AddBlazorScreens
extensions in the MauiAppBuilderExtensions/ServiceCollectionExtensions.
Additionally, to utilize the blazor specific handling, consumers will want to mark their components with BlazorComponent
for normal screens
or BlazorComponentPopup
for popups.
When displaying a popup for blazor, users can adjust the width/height and x/y translations using the ShowBlazorPopupAsync
extension, if the default
popup navigation is insufficient
OSK.Maui.Screens.CommunityToolkit
This adds an integration for popups using the community toolkit popups. Consumers should add the community toolkit handler using AddCommunityScreens
in the MauiAppBuilderExtensions
See https://github.com/CommunityToolkit/Maui for more information.
OSK.Maui.Screens.Mopups
This adds an integration for popups using the Mopups library. Consumers should add the mopups handler using the AddMopupsScreens
in the
MauiAppBuilderExtensions
See https://github.com/LuckyDucko/Mopups for more information.
Contributions and Issues
Any and all contributions are appreciated! Please be sure to follow the branch naming convention OSK-{issue number}-{deliminated}-{branch}-{name} as current workflows rely on it for automatic issue closure. Please submit issues for discussion and tracking using the github issue tracker.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios18.0 is compatible. net8.0-maccatalyst18.0 is compatible. net8.0-windows10.0.19041 is compatible. net9.0-android was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-windows was computed. |
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.100)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.100)
- Mopups (>= 1.3.2)
- OSK.Maui.Screens (>= 0.0.1)
-
net8.0-ios18.0
- Microsoft.Maui.Controls (>= 8.0.100)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.100)
- Mopups (>= 1.3.2)
- OSK.Maui.Screens (>= 0.0.1)
-
net8.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 8.0.100)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.100)
- Mopups (>= 1.3.2)
- OSK.Maui.Screens (>= 0.0.1)
-
net8.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 8.0.100)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.100)
- Mopups (>= 1.3.2)
- OSK.Maui.Screens (>= 0.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.