zimjs 18.0.5 → 18.0.7
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/package.json +1 -1
- package/src/zim.js +6 -0
- package/ts-src/typings/zim/index.d.ts +2 -0
package/package.json
CHANGED
package/src/zim.js
CHANGED
|
@@ -47691,6 +47691,11 @@ zim.Carousel3D = function(width, height, items, widthFactor, heightFactor, curve
|
|
|
47691
47691
|
new zim.Page(200,200,blue).reg(CENTER), new zim.Page(200,200,green).reg(CENTER), new zim.Page(200,200,orange).reg(CENTER),
|
|
47692
47692
|
new zim.Page(200,200,red).reg(CENTER), new zim.Page(200,200,pink).reg(CENTER), new zim.Page(200,200,yellow).reg(CENTER)
|
|
47693
47693
|
];
|
|
47694
|
+
if (items[0] && typeof(items[0]) == "string") {
|
|
47695
|
+
zim.loop(items, function(item, i) {
|
|
47696
|
+
items[i] = new zim.Pic(item);
|
|
47697
|
+
});
|
|
47698
|
+
}
|
|
47694
47699
|
if (zot(widthFactor)) widthFactor = DS.widthFactor!=null?DS.widthFactor:1;
|
|
47695
47700
|
if (zot(heightFactor)) heightFactor = DS.heightFactor!=null?DS.heightFactor:1;
|
|
47696
47701
|
if (zot(curve)) curve = DS.curve!=null?DS.curve:.5;
|
|
@@ -98088,3 +98093,4 @@ export let Style = zim.Style;
|
|
|
98088
98093
|
export let assets = zim.assets;
|
|
98089
98094
|
export let assetIDs = zim.assetIDs;
|
|
98090
98095
|
export let ZIMON = zim.ZIMON;
|
|
98096
|
+
|
|
@@ -215,6 +215,8 @@ declare namespace zim {
|
|
|
215
215
|
contactEnd(call: Function): this
|
|
216
216
|
noContact(): this
|
|
217
217
|
noContactEnd(): this
|
|
218
|
+
puppet(o: DisplayObject): this
|
|
219
|
+
noPuppet(): this
|
|
218
220
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
219
221
|
hitTestReg(other: DisplayObject): boolean
|
|
220
222
|
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|