Skip to content

iwe7/iwe7-util

Repository files navigation

dom

名称 介绍
onKeyDown onKeyDown(ele: DomElement): Observable<KeyboardEvent>;
onKeyPress onKeyPress(ele: DomElement): Observable<KeyboardEvent>;
onKeyUp onKeyUp(ele: DomElement): Observable<KeyboardEvent>;
onMouseDown onMouseDown(ele: DomElement): Observable<MouseEvent>;
onMouseMove onMouseMove(ele: DomElement): Observable<MouseEvent>;
onMouseOut onMouseOut(ele: DomElement): Observable<MouseEvent>;
onMouseOver onMouseOver(ele: DomElement): Observable<MouseEvent>;
onMouseUp onMouseUp(ele: DomElement): Observable<MouseEvent>;
onTouchStart onTouchStart(ele: DomElement): Observable<TouchEvent>;
onTouchEnd onTouchEnd(ele: DomElement): Observable<TouchEvent>;
onTouchCancel onTouchCancel(ele: DomElement): Observable<TouchEvent>;
onTouchMove onTouchMove(ele: DomElement): Observable<TouchEvent>;
onTap onTap(ele: DomElement, fn?: Function): Observable<TouchEvent>;
onAbort onAbort(ele: HTMLImageElement): Observable<Event>
onBlur onBlur(ele: DomElement): Observable<Event>
onFocus onFocus(ele: DomElement): Observable<Event>
onChange onChange(ele: ChangeElement): Observable<Event>
onResize onResize(ele: DomElement): Observable<Event>
onClick onClick(ele: DomElement): Observable<Event>
onDblClick onDblClick(ele: DomElement): Observable<Event>
onError onError(ele: ErrorElement): Observable<Event>
onLoad onLoad(ele: LoadElement): Observable<Event>
onReset onLoad(ele: HTMLFormElement): Observable<Event>
onSubmit onSubmit(ele: HTMLFormElement): Observable<Event>
onSelect ```onSelect(ele: HTMLInputElement HTMLTextAreaElement): Observable```
onUnload ```onUnload(ele: HTMLBodyElement HTMLFrameSetElement): Observable```
  • util
名称 简介
toBoolean toBoolean(value:any): boolean
toNumber toNumber<D>(value: any, fallback: D): number
serializeQueryParams serializeQueryParams(params: { [key: string]: any }): string
getGlobal 获取全局对象
isObservable 判断是否Observable
isPromise 判断是否Promise

组件库

组件名 说明 地址
iwe7-flex flex布局组件 https://github.com/iwe7/iwe7-flex
iwe7-map 百度地图组件 https://github.com/iwe7/iwe7-map
iwe7-im IM组件 https://github.com/iwe7/iwe7-im
iwe7-icss rxjs操作css https://github.com/iwe7/iwe7-icss
iwe7-core 核心库 https://github.com/iwe7/iwe7-core
iwe7-script 加载css和js https://github.com/iwe7/iwe7-script
iwe7-util 工具 https://github.com/iwe7/iwe7-util
iwe7-square 正方形组件 https://github.com/iwe7/iwe7-square
iwe7-better-scroll 滑动组件 https://github.com/iwe7/iwe7-better-scroll
iwe7-web-storage 缓存相关 https://github.com/iwe7/iwe7-web-storage
iwe7-url api链接便签 https://github.com/iwe7/iwe7-url
iwe7-video 视频播放 https://github.com/iwe7/iwe7-video

Releases

No releases published

Packages

No packages published