TIWCGJQSweetAlertOptions Class
Represents type TIWCGJQSweetAlertOptions
.
The TIWCGJQSweetAlertOptions type exposes the following members.
Name | Description | |
---|---|---|
Create(TCollection) | ||
CreateSingle(TPersistent,string) | Initializes a new instance of the TIWCGJQSweetAlertOptions class. (Overrides TIWCGJSon.CreateSingle(TPersistent,string).) |
Name | Description | |||
---|---|---|---|---|
AlertType | The type of the modal. SweetAlert comes with 4 built-in types which will show a corresponding icon animation: "warning", "error", "success" and "info". You can also set it as "input" to get a prompt modal. It can either be put in the object under the key "type" or passed as the third parameter of the function. | |||
AllowEscapeKey | If set to true, the user can dismiss the modal by pressing the Escape key. | |||
AllowOutsideClick | If set to true, the user can dismiss the modal by clicking outside it. | |||
Animation | If set to false, the modal's animation will be disabled. Possible (string) values : pop (default when animation set to true), slide-from-top, slide-from-bottom | |||
CancelButtonText | Use this to change the text on the "Cancel"-button. | |||
CGJSContainer | Represents property | |||
ClassData | Represents property | |||
CloseOnCancel | Same as closeOnConfirm, but for the cancel button. | |||
CloseOnConfirm | Set to false if you want the modal to stay open even if the user presses the "Confirm"-button. This is especially useful if the function attached to the "Confirm"-button is another SweetAlert. | |||
ConfirmButtonColor | Use this to change the background color of the "Confirm"-button (must be a HEX value). | |||
ConfirmButtonText | Use this to change the text on the "Confirm"-button. If showCancelButton is set as true, the confirm button will automatically show "Confirm" instead of "OK". | |||
CustomClass | A custom CSS class for the modal. It can be added to the object under the key "customClass". | |||
HTML | If set to true, will not escape title and text parameters. (Set to false if you're worried about XSS attacks.) | |||
ImageSize | If imageUrl is set, you can specify imageSize to describes how big you want the icon to be in px. Pass in a string with two values separated by an "x". The first value is the width, the second is the height. | |||
ImageUrl | Add a customized icon for the modal. Should contain a string with the path to the image. | |||
InstList | Represents property | |||
IsStored | Represents property | |||
JSon | Return the Interface of SuperObject (ISuperObject) (Inherited from TIWCGJSon.) | |||
JSonEvents[string] | Represents property | |||
List | Represents property | |||
MemberList | Represents property | |||
OnBtnClick | Represents property | |||
Owner | Represents property | |||
PropCount | Represents property | |||
PropIndexByName[string] | Represents property | |||
PropList | Represents property | |||
PropName | Represents property | |||
PropNameByIndex[Integer] | Represents property | |||
ShowCancelButton | If set to true, a "Cancel"-button will be shown, which the user can click on to dismiss the modal. | |||
ShowConfirmButton | If set to false, the "OK/Confirm"-button will be hidden. Make sure you set a timer or set allowOutsideClick to true when using this, in order not to annoy the user. | |||
ShowLoaderOnConfirm | Set to true to disable the buttons and show that something is loading. | |||
SObj | Represents property | |||
Text | A description for the modal. It can either be added to the object under the key "text" or passed as the second parameter of the function. | |||
Timer | Auto close timer of the modal. Set in ms (milliseconds). | |||
Title | The title of the modal. It can either be added to the object under the key "title" or passed as the first parameter of the function.
|
Name | Description | |||
---|---|---|---|---|
AddBooleanMember(string,Boolean,Boolean,Boolean) | Represents method | |||
AddColorMember(string,TIWCGColor,Boolean,Boolean) | Represents method | |||
AddCurrencyMember(string,Currency,Boolean,Boolean) | Represents method | |||
AddDoubleMember(string,Double,Boolean,Boolean) | Represents method | |||
AddDynObjListMember(string,Boolean,Boolean) | Represents method | |||
AddEnumMember(string,string[],Byte,Boolean,Boolean) | Represents method | |||
AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean) | Represents method | |||
AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean) | Represents method | |||
AddHTML5(TIWHTMLTag) | Represents method | |||
AddIntegerMember(string,Integer,Boolean,Boolean) | Represents method | |||
AddJSonMember(string,TCGJSon,Boolean,Boolean) | Represents method | |||
AddMembers | The procedure add jquery properties.
| |||
AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean) | Represents method | |||
AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean) | Represents method | |||
AddSimpleArrayMember(string,Boolean,Boolean,Boolean) | Represents method | |||
AddStringMember(string,string,Boolean,Boolean) | Represents method | |||
AddVariantMember(string,Variant,Boolean,Boolean) | Represents method | |||
AfterConstruction | Represents method | |||
Assign(TPersistent) | Represents method | |||
CheckJSonMember(Integer) | Represents method | |||
ConvertEnumToString(string) | Represents method | |||
ConvertSetToString(string,TCGStringArray) | Represents method | |||
FreeJSonObj(Integer) | Overloaded. Represents method | |||
FreeJSonObj(string) | Overloaded. Represents method | |||
GetBooleanValue(Integer) | Represents method | |||
GetCGJSContainer | Represents method | |||
GetColorValue(Integer) | Represents method | |||
GetCurrencyValue(Integer) | Represents method | |||
GetCustomJq(string,ISuperObject) | Represents method | |||
GetDoubleValue(Integer) | Represents method | |||
GetDynObjListValue(Integer) | Represents method | |||
GetEnumAsString(Integer) | Represents method | |||
GetEnumerValue(Integer) | Represents method | |||
GetEnumSetValue(Integer,Pointer) | Represents method | |||
GetFixedScript(TIWCGJSonFunc,Boolean) | Represents method | |||
GetFuncValue(Integer) | Represents method | |||
GetHTMLName | Represents method | |||
GetImplComponent | Represents method | |||
GetIntegerValue(Integer) | Represents method | |||
GetIsStored | Represents method | |||
GetItemIndex | Represents method | |||
GetIWCLName | Represents method | |||
GetJSon | Represents method | |||
GetJSonByType(Boolean,Boolean) | Represents method | |||
GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | |||
GetJSonValue(Integer) | Represents method | |||
GetJSonValueObj(Integer) | Represents method | |||
GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string) | Represents method | |||
GetMemberSetterHandler(TObject,TCGJSonMember) | Represents method | |||
GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript) | Represents method | |||
GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean) | Represents method | |||
GetObjListValue(Integer) | Represents method | |||
GetObjValue(Integer) | Represents method | |||
GetOwner | Represents method | |||
GetPropName | Represents method | |||
GetSimpleArrayValue(Integer) | Represents method | |||
GetStringValue(Integer) | Represents method | |||
GetVariantValue(Integer) | Represents method | |||
InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | |||
IsArray | Represents method | |||
IsBooleanStored(Integer) | Represents method | |||
IsColorStored(Integer) | Represents method | |||
IsCurrencyStored(Integer) | Represents method | |||
IsDoubleStored(Integer) | Represents method | |||
IsEnumerStored(Integer) | Represents method | |||
IsEnumSetStored(Integer) | Represents method | |||
IsFuncStored(Integer) | Represents method | |||
IsIntegerStored(Integer) | Represents method | |||
IsJSonObjStored(string) | Represents method | |||
IsJSonStored(Integer) | Represents method | |||
IsObjStored(Integer) | Represents method | |||
IsStringStored(Integer) | Represents method | |||
IsVariantStored(Integer) | Represents method | |||
JSonEscape | Represents method | |||
JSonIdent | Represents method | |||
JSonNameQuote | Represents method | |||
ResetProps | Represents method | |||
SetBooleanValue(Integer,Boolean) | Represents method | |||
SetColorValue(Integer,TIWCGColor) | Represents method | |||
SetCurrencyValue(Integer,Currency) | Represents method | |||
SetDoubleValue(Integer,Double) | Represents method | |||
SetDynObjListValue(Integer,TIWCGJSonDynObjList) | Represents method | |||
SetEnumerValue(Integer,Byte) | Represents method | |||
SetEnumSetValue(Integer,Pointer) | Represents method | |||
SetFuncValue(Integer,TIWCGJSonFunc) | Represents method | |||
SetIntegerValue(Integer,Integer) | Represents method | |||
SetJSonValue(Integer,TCGJSon) | Represents method | |||
SetObjListValue(Integer,TIWCGJSonList) | Represents method | |||
SetObjValue(Integer,TIWCGJSon) | Represents method | |||
SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray) | Represents method | |||
SetStringValue(Integer,string) | Represents method | |||
SetVariantValue(Integer,Variant) | Represents method | |||
StoreProperty(PPropInfo,TObject) | Represents method | |||
SupportsSetter(TObject,TCGJSonMember) | Represents method |