Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (31 loc) · 900 Bytes

result.alert.md

File metadata and controls

38 lines (31 loc) · 900 Bytes

Result.alert

The alert function is established to show a alert dialog. But if with another alert, the alert messages will be connected.

Sample

	var result = new Result();
	result.alert("good morning!").alert("good night!");

API

CallingReturning
Result . alert ( message )Result
Result . alert ( message , params )Result
ParametersTypeDescription
messageStringThe information to show at the alert dialog.
	xxxx{param1}yyy{param2}yy
You can define "{param}" in the message, it will be replaced by the params.
paramsObjectThe params to replace "{param}" in the message.
{
	param1:value1,
	param2:value2
}