confirm
Description
Confirm 메시지 박스를 엽니다
confirm: (config: any) => HTMLElement
Parameters
config- (required) object - confirm 박스 설정 객체
Returns
div- (HTMLElement) - confirm 박스를 포함하는 div 요소
Example
var box = scheduler.confirm({
text: "Continue?",
ok:"Yes",
cancel:"No",
callback: function(result){
if(result){
scheduler.message("Yes!");
}else{
scheduler.message("No...");
}
}
});
Details
confirm 메시지 박스에 사용할 수 있는 설정 옵션에 대한 자세한 내용은 "Popup Messages and Modal Boxes" 문서를 참고하세요.
Related API
Related Guides
Change log
- 버전 6.0에 추가됨
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.