@meta2d/core 1.0.64 → 1.0.65

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/src/core.d.ts CHANGED
@@ -61,6 +61,7 @@ export declare class Meta2d {
61
61
  setDatabyOptions(options?: Options): void;
62
62
  private init;
63
63
  initEventFns(): void;
64
+ getEventData(list: any, pen: Pen): any;
64
65
  message(options: MessageOptions): void;
65
66
  closeAll(): void;
66
67
  navigatorTo(id: string): Promise<void>;
@@ -162,8 +163,9 @@ export declare class Meta2d {
162
163
  * 组合
163
164
  * @param pens 组合的画笔们
164
165
  * @param showChild 组合后展示第几个孩子
166
+ * @param active 是否激活组合后的画笔
165
167
  */
166
- combine(pens?: Pen[], showChild?: number): any;
168
+ combine(pens?: Pen[], showChild?: number, active?: boolean): any;
167
169
  uncombine(pen?: Pen): void;
168
170
  appendChild(pens?: Pen[]): void;
169
171
  /***
@@ -235,7 +237,6 @@ export declare class Meta2d {
235
237
  stopDataMock(): void;
236
238
  penMock(pen: Pen): void;
237
239
  penNetwork(pen: Pen): void;
238
- getCookie(name: string): string;
239
240
  getDynamicParam(key: string): any;
240
241
  onNetworkConnect(https: Network[]): void;
241
242
  requestHttp(_req: Network): Promise<void>;