rigel-web
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

杂项工具

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;

谨慎使用

Readme

Keywords

none

Package Sidebar

Install

npm i rigel-web

Weekly Downloads

2

Version

0.0.8

License

ISC

Unpacked Size

138 kB

Total Files

27

Last publish

Collaborators

  • mycoin