🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ascetic.plugins.prettypopup

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

ascetic.plugins.prettypopup

1.2.5
unpublished
NuGet
Maintainers
0
Source

PrettyPopup

This is small and fast decoration package for blurred background effect for your Rg.Plugins.Popups

  • Install PrettyPopupPlugin and setup:
AsceticAscetic.Plugins.PopupDecorations.<Droid/iOS>.PrettyPopup.Init()

PrettyPopup will automatically setup Rg.Plugins.Popup inside(you can use parameters for disable such behavior)

  • Now, you can create your popup inherited from PrettyPopup and it will have blur background effect with appearance/hiding animation!

PrettyPopup gif

Example:

<ascetic:PrettyPopup xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:ascetic="clr-namespace:Ascetic.Plugins.PopupDecorations;assembly=PrettyPopupPlugin.Core"
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
	x:Class="PrettyPopupDemo.MyPopup">

    <Frame VerticalOptions="Center" CornerRadius="14">
        <Label VerticalOptions="Center" HorizontalOptions="Center" Text="My content"/>
    </Frame>

</ascetic:PrettyPopup>

and code behind:

public partial class MyPopup : Ascetic.Plugins.PopupDecorations.PrettyPopup
{
    private static int BlurRadius = Device.RuntimePlatform == Device.iOS ? 15: 16;

    //parameter is optional
    public MyPopup(): base(BlurRadius)
    {
        InitializeComponent();
    }
}

What's new:

v1.2.3 - fixed MonoAndroid compatibility, core lib assembly name and documentation(note the assembly name in xaml file) v1.2.1 - possibility for customization: blur radius through popup constructor parameter(all platforms) and blur style for ios in initialization. Example:

AsceticAscetic.Plugins.PopupDecorations.iOS.PrettyPopup.Init(UIBlurEffectStyle.ExtraLight);

Keywords

xamarin

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts