💄(component): update
This commit is contained in:
parent
7133a0d79a
commit
653b8ff632
@ -1,3 +1,3 @@
|
|||||||
export const check = (arr: any[], value: any) => {
|
export const check = (arr: any[], value: any) => {
|
||||||
return arr.indexOf(value) > -1;
|
return arr.indexOf(value) > -1;
|
||||||
};
|
};
|
@ -59,4 +59,4 @@ export function off(elem: any, events: any, handler: any) {
|
|||||||
[]
|
[]
|
||||||
.concat(events)
|
.concat(events)
|
||||||
.forEach((event) => elem.removeEventListener(event, handler, false));
|
.forEach((event) => elem.removeEventListener(event, handler, false));
|
||||||
}
|
}
|
@ -1,3 +1,3 @@
|
|||||||
export * from "./domUtil";
|
export * from "./domUtil";
|
||||||
export * from "./withInstall";
|
export * from "./withInstall";
|
||||||
export * from "./arrayUtil";
|
export * from "./arrayUtil";
|
@ -10,4 +10,4 @@ export const withInstall = <T>(comp: T): T & Plugin => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return component as T & Plugin;
|
return component as T & Plugin;
|
||||||
};
|
};
|
Loading…
x
Reference in New Issue
Block a user