From e9937a8f3a52d977aa49be5b25419c7e774d3671 Mon Sep 17 00:00:00 2001 From: Alexei Anoshenko <2277098+anoshenko@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:56:52 +0200 Subject: [PATCH] Update popup.go --- popup.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/popup.go b/popup.go index 8cc0148..2536370 100644 --- a/popup.go +++ b/popup.go @@ -171,7 +171,7 @@ const ( // ShowTiming is the constant for "show-timing" property tag. // - // Used by `StackLayout`. + // Used by `Popup`. // Set how a Popup show/hide animation progresses through the duration of each cycle. // // Supported types: `string`. @@ -184,6 +184,15 @@ const ( // "linear"(`LinearTiming`) - Constant speed. ShowTiming = "show-timing" + // ShowOpacity is the constant for "show-opacity" property tag. + // + // Used by `Popup`. + // In [1..0] range sets the start opacity of Popup show animation (the finish animation opacity is 1). + // Opacity is the degree to which content behind the view is hidden, and is the opposite of transparency. + // + // Supported types: `float`, `int`, `string`. + // + // Internal type is `float`, other types converted to it during assignment. ShowOpacity = "show-opacity" // ArrowOffset is the constant for "arrow-offset" property tag.