@vvfx/sdk 0.1.19-alpha.23 → 0.1.19-alpha.25
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.cjs +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -759,6 +759,8 @@ declare abstract class BaseItem {
|
|
|
759
759
|
*/
|
|
760
760
|
abstract readonly property: BaseItemProperty;
|
|
761
761
|
constructor(options: SDKItemOptions);
|
|
762
|
+
get pixelWidth(): number;
|
|
763
|
+
get pixelHeight(): number;
|
|
762
764
|
/**
|
|
763
765
|
* @description 设置扩展属性
|
|
764
766
|
* @param key 属性名
|
|
@@ -3470,6 +3472,14 @@ type FrameConfig = {
|
|
|
3470
3472
|
* @description 自动布局元素间隔
|
|
3471
3473
|
*/
|
|
3472
3474
|
layoutGap: number;
|
|
3475
|
+
/**
|
|
3476
|
+
* @description 默认画板[无子元素时]宽度
|
|
3477
|
+
*/
|
|
3478
|
+
defaultWidth: number;
|
|
3479
|
+
/**
|
|
3480
|
+
* @description 默认画板[无子元素时]高度
|
|
3481
|
+
*/
|
|
3482
|
+
defaultHeight: number;
|
|
3473
3483
|
/**
|
|
3474
3484
|
* @description 自动布局背景颜色
|
|
3475
3485
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -759,6 +759,8 @@ declare abstract class BaseItem {
|
|
|
759
759
|
*/
|
|
760
760
|
abstract readonly property: BaseItemProperty;
|
|
761
761
|
constructor(options: SDKItemOptions);
|
|
762
|
+
get pixelWidth(): number;
|
|
763
|
+
get pixelHeight(): number;
|
|
762
764
|
/**
|
|
763
765
|
* @description 设置扩展属性
|
|
764
766
|
* @param key 属性名
|
|
@@ -3470,6 +3472,14 @@ type FrameConfig = {
|
|
|
3470
3472
|
* @description 自动布局元素间隔
|
|
3471
3473
|
*/
|
|
3472
3474
|
layoutGap: number;
|
|
3475
|
+
/**
|
|
3476
|
+
* @description 默认画板[无子元素时]宽度
|
|
3477
|
+
*/
|
|
3478
|
+
defaultWidth: number;
|
|
3479
|
+
/**
|
|
3480
|
+
* @description 默认画板[无子元素时]高度
|
|
3481
|
+
*/
|
|
3482
|
+
defaultHeight: number;
|
|
3473
3483
|
/**
|
|
3474
3484
|
* @description 自动布局背景颜色
|
|
3475
3485
|
*/
|