@whitesev/pops 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.amd.js +65 -50
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +65 -50
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +65 -50
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +65 -50
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +65 -50
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +65 -50
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/Pops.d.ts +1 -0
- package/dist/types/src/components/rightClickMenu/index.d.ts +1 -0
- package/dist/types/src/components/rightClickMenu/types/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/types/src/Pops.d.ts
CHANGED
|
@@ -21368,6 +21368,7 @@ declare class Pops {
|
|
|
21368
21368
|
childMenuTopOrBottomDistance: number;
|
|
21369
21369
|
className: string;
|
|
21370
21370
|
isAnimation: boolean;
|
|
21371
|
+
useScaleAnimation: boolean;
|
|
21371
21372
|
preventDefault: boolean;
|
|
21372
21373
|
useShadowRoot: boolean;
|
|
21373
21374
|
only: boolean;
|
|
@@ -20953,6 +20953,7 @@ export declare const PopsRightClickMenu: {
|
|
|
20953
20953
|
childMenuTopOrBottomDistance: number;
|
|
20954
20954
|
className: string;
|
|
20955
20955
|
isAnimation: boolean;
|
|
20956
|
+
useScaleAnimation: boolean;
|
|
20956
20957
|
preventDefault: boolean;
|
|
20957
20958
|
useShadowRoot: boolean;
|
|
20958
20959
|
only: boolean;
|
|
@@ -69,9 +69,18 @@ export interface PopsRightClickMenuDetails extends Pick<PopsCommonConfig, "useSh
|
|
|
69
69
|
className?: string;
|
|
70
70
|
/**
|
|
71
71
|
* 是否启用动画,默认true
|
|
72
|
+
*
|
|
73
|
+
* 该动画为从上往下展开
|
|
72
74
|
* @default true
|
|
73
75
|
*/
|
|
74
76
|
isAnimation?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* 是否使用打开动画,默认true
|
|
79
|
+
*
|
|
80
|
+
* 该动画为放大动画
|
|
81
|
+
* @default true
|
|
82
|
+
*/
|
|
83
|
+
useScaleAnimation?: boolean;
|
|
75
84
|
/**
|
|
76
85
|
* 是否阻止默认contextmenu事件
|
|
77
86
|
* @default false
|