Skip to content

Commit

Permalink
chore: demo tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
qinhua committed Nov 21, 2024
1 parent 7524218 commit 02abec9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/module/carv-id.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { LitElement, html, css } from "lit";
import { customElement, property } from "lit/decorators.js";
import { IconCARVID } from "../config/file";
Expand Down Expand Up @@ -98,14 +97,16 @@ export class CarvIdWidget extends LitElement {

private elBtn: HTMLElement | null = null;
private config = defaultCarvIdWidgetOptions;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private draggie: any; // 拖拽实例
isDragging: boolean = false; // 是否正在拖
position: I_PositionInfo = {
x: 0,
y: 0,
direction: Enum_CarvIdIconDirection.RIGHT,
}; // 图标当前位置信息
private resizeHandler: any; // 窗口大小变化事件处理函数
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private resizeHandler?: (e: any) => void; // 窗口大小变化事件处理函数

static styles = css`
:host {
Expand Down

0 comments on commit 02abec9

Please sign in to comment.