dialog
Index
Enumerations
readonlydateType
DATE
DATE_TIME
TIME
Variables
constbuttonText
Type declaration
CANCEL: string
NO: string
OK: string
YES: string
constbuttonType
Type declaration
CANCEL: number
NEGATIVE: number
POSITIVE: number
constfileType
Type declaration
AUDIO: string
DOCUMENT: string[]
IMAGE: string
VIDEO: string
constinputType
Type declaration
DEFAULT: number
INPUT: number
NUMBER: number
PASSWORD: number
TEXTAREA: number
constselectType
Type declaration
DEFAULT: number
ICON: number
Functions
_chaynsCallResponder
Parameters
obj: any
Returns void
addDialogDataListener
Parameters
callback: any
getApiEvents: boolean = false
Returns boolean
advancedDate
Parameters
config: AdvancedDateConfig = {}
Returns Promise<unknown>
alert
Parameters
title: string = ''
message: string = ''
Returns Promise<any> | unsupported
close
Returns Promise<any>
confirm
Parameters
title: string = ''
message: string = ''
config: Confirm = {}
Returns Promise<any> | unsupported
date
Parameters
config: DateConfig = {}
Returns Promise<any>
dropUpAlert
Parameters
dialog: DropUpAlert = {}
Returns Promise<unknown>
fileSelect
Parameters
dialog: FileSelectInput = {}
Returns Promise<unknown>
iFrame
Parameters
dialog: iFrameDialog = ...
Returns Promise<unknown>
input
Parameters
dialog: InputDialog = {}
Returns Promise<unknown>
mediaSelect
Parameters
dialog: MediaSelectInput = {}
Returns Promise<unknown>
removeDialogDataListener
Parameters
callback: any
getApiEvents: boolean = false
Returns boolean
select
Parameters
config: SelectInput
Returns Promise<unknown>
sendData
Parameters
data: any
isApiEvent: any
Returns Promise<any>
signature
Parameters
optionaldialog: SignatureInput
Returns Promise<unknown>
toast
Parameters
config: {} = {}
Returns Promise<any>
Enum for date dialog