startLightbox
Description
지정한 HTML 컨테이너 내에 커스텀 라이트박스를 화면 중앙에 표시합니다.
startLightbox: (id: string, box: HTMLElement) => void
Parameters
id- (required) string - 이벤트의 idbox- (required) HTMLElement - 라이트박스를 표시할 HTML 컨테이너
Example
<div id="my_form">
...
</div>
<script>
scheduler.showLightbox = function(id) {
scheduler.startLightbox(id, document.getElementById("my_form"));
...
};
</script>
Related samples
Details
커스텀 라이트박스를 닫으려면 endLightbox 메서드를 사용할 수 있습니다.
Related API
Related Guides
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.