0.0.8 • Published 2 years ago

rigel-web v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

杂项工具

browsers:

  • attachMousewheel: (target: HTMLElement, callback: Function) => void;
  • clipboardCopy: (text: any, callback: any) => void;
  • closest: (element: Element, selector: string) => Function;
  • delegateEvent: (elements: HTMLElement | string, selector: string, type: string, callback: Function, useCapture: boolean) => void;
  • download: (data: any, filename: any, gcTimeout: any) => void;
  • elementMatches: (element: Element, selector: string) => boolean;
  • getCurrentScript: () => HTMLOrSVGScriptElement | null;
  • getElementPath: (element: any) => any;
  • lastSeconds: () => (stop: any) => number;
  • loadCss: (url: any, callback: any) => void;
  • loadScript: (url: any, callback: any) => void;
  • replaceStateWith: (params: StringifiableRecord) => boolean;
  • scrollIntoView: (element: any, compensation: any) => void;
  • sendBeacon: (targetUrl: any, content: any) => boolean | undefined;

谨慎使用

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago