forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~ROY.LIU/fineui:master to master * commit '0b21606bcd5d6509a87902fc06e3c215decf5c15': 冲突 change 补充web/function 补充BI.Msg类型描述 补充BI.Msg类型描述 增加描述master
Teller
4 years ago
4 changed files with 28 additions and 1 deletions
@ -0,0 +1,6 @@
|
||||
export type _msg = { |
||||
alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void |
||||
confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void |
||||
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void |
||||
toast: (message: string, options?: object, context?: HTMLElement ) => void |
||||
} |
@ -0,0 +1,12 @@
|
||||
export type _function = { |
||||
isIE: () => boolean; |
||||
getIEVersion: () => number; |
||||
isEdge: () => boolean; |
||||
isChrome: () => boolean; |
||||
isFireFox: () => boolean; |
||||
isOpera: () => boolean; |
||||
isSafari: () => boolean; |
||||
isMac: () => boolean; |
||||
isWindows: () => boolean; |
||||
isSupportCss3: (style: any) => boolean; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { _function } from "./function"; |
||||
|
||||
|
||||
export interface _web extends _function { |
||||
|
||||
} |
Loading…
Reference in new issue