mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +08:00
fix(module: dropdown): Animations for down and up are inverse (#1274)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
This commit is contained in:
parent
0966029022
commit
93b14fe81d
@ -2,23 +2,23 @@
|
||||
{
|
||||
public sealed class PlacementType : EnumValue<PlacementType>
|
||||
{
|
||||
public static readonly PlacementType TopLeft = new PlacementType("topLeft", "up", "33% 100%", 0);
|
||||
public static readonly PlacementType TopCenter = new PlacementType("topCenter", "up", "50% 100%", 1);
|
||||
public static readonly PlacementType Top = new PlacementType("top", "up", "50% 100%", 1);
|
||||
public static readonly PlacementType TopRight = new PlacementType("topRight", "up", "66% 100%", 2);
|
||||
public static readonly PlacementType TopLeft = new PlacementType("topLeft", "down", "33% 100%", 0);
|
||||
public static readonly PlacementType TopCenter = new PlacementType("topCenter", "down", "50% 100%", 1);
|
||||
public static readonly PlacementType Top = new PlacementType("top", "down", "50% 100%", 1);
|
||||
public static readonly PlacementType TopRight = new PlacementType("topRight", "down", "66% 100%", 2);
|
||||
|
||||
public static readonly PlacementType Left = new PlacementType("left", "down", "100% 50%%", 3);
|
||||
public static readonly PlacementType LeftTop = new PlacementType("leftTop", "up", "100% 33%", 4);
|
||||
public static readonly PlacementType LeftBottom = new PlacementType("leftBottom", "down", "100% 66%", 5);
|
||||
public static readonly PlacementType Left = new PlacementType("left", "up", "100% 50%%", 3);
|
||||
public static readonly PlacementType LeftTop = new PlacementType("leftTop", "down", "100% 33%", 4);
|
||||
public static readonly PlacementType LeftBottom = new PlacementType("leftBottom", "up", "100% 66%", 5);
|
||||
|
||||
public static readonly PlacementType Right = new PlacementType("right", "down", "0 50%", 6);
|
||||
public static readonly PlacementType RightTop = new PlacementType("rightTop", "up", "0 33%", 7);
|
||||
public static readonly PlacementType RightBottom = new PlacementType("rightBottom", "down", "0 66%", 8);
|
||||
public static readonly PlacementType Right = new PlacementType("right", "up", "0 50%", 6);
|
||||
public static readonly PlacementType RightTop = new PlacementType("rightTop", "down", "0 33%", 7);
|
||||
public static readonly PlacementType RightBottom = new PlacementType("rightBottom", "up", "0 66%", 8);
|
||||
|
||||
public static readonly PlacementType BottomLeft = new PlacementType("bottomLeft", "down", "33% 0", 9);
|
||||
public static readonly PlacementType BottomCenter = new PlacementType("bottomCenter", "down", "50% 0", 10);
|
||||
public static readonly PlacementType Bottom = new PlacementType("bottom", "down", "50% 0", 10);
|
||||
public static readonly PlacementType BottomRight = new PlacementType("bottomRight", "down", "66% 0", 11);
|
||||
public static readonly PlacementType BottomLeft = new PlacementType("bottomLeft", "up", "33% 0", 9);
|
||||
public static readonly PlacementType BottomCenter = new PlacementType("bottomCenter", "up", "50% 0", 10);
|
||||
public static readonly PlacementType Bottom = new PlacementType("bottom", "up", "50% 0", 10);
|
||||
public static readonly PlacementType BottomRight = new PlacementType("bottomRight", "up", "66% 0", 11);
|
||||
|
||||
public string SlideName { get; private set; }
|
||||
public string TranformOrigin { get; private set; }
|
||||
|
Loading…
Reference in New Issue
Block a user