dozy 1.0.37 → 1.0.38

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.d.ts CHANGED
@@ -164,6 +164,8 @@ declare class Scaler {
164
164
  #private;
165
165
  heightElement: HTMLElement;
166
166
  widthElement: HTMLElement;
167
+ set base(val: number);
168
+ get base(): number;
167
169
  set mainScale(val: number);
168
170
  get mainScale(): number;
169
171
  get scaleComputer(): ScaleComputer;
@@ -173,6 +175,13 @@ declare class Scaler {
173
175
  constructor(innerContainer: HTMLElement);
174
176
  }
175
177
  export declare function enableScaler(outerContainer: HTMLElement, initer?: ScaleIniter, innerContainer?: HTMLElement): (() => void) | undefined;
178
+ /**
179
+ * Hello
180
+ * @param widthElement 容器
181
+ * @param heightElement 容器
182
+ * @param maxAspectRatio 请输入 Number(0.57) && 0.64
183
+ * @returns
184
+ */
176
185
  export declare const standardIniter: (args: {
177
186
  maxAspectRatio?: number;
178
187
  setFullScreenWidth?: (x: number) => void;
@@ -180,6 +189,7 @@ export declare const standardIniter: (args: {
180
189
  setMainScale?: (x: number) => void;
181
190
  heightElement?: HTMLElement;
182
191
  widthElement?: HTMLElement;
192
+ base?: number;
183
193
  }) => ScaleIniter;
184
194
  export declare class StringObfuscator {
185
195
  key: string;
@@ -287,7 +297,7 @@ export declare function toRgbString(input: string | Color | any): string | undef
287
297
  * @returns HSL/HSLA string or undefined.
288
298
  */
289
299
  export declare function toHslString(input: string | Color | any): string | undefined;
290
- export declare const DOZY = "1.0.37";
300
+ export declare const DOZY = "1.0.38";
291
301
  export * from "axios";
292
302
  export * from "zod";
293
303