| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
DitapViewer | 사용할 DitapViewer 인스턴스. The DitapViewer instance to use. | |||||||||
props |
object |
팝업 기능 설정을 위한 속성 객체. Properties object to configure the popup features.
|
|||||||||
updateIsPopup |
function | optional 팝업이 열리면 true, 닫히면 false를 인자로 호출되는 함수. Function called with true when the popup opens and false when it closes. |
Example:
// 1. 모델 추가 팝업을 생성하고 기능 활성화
const viewer = new Ditap.DitapViewer("ditapContainer");
const props = { drawing: true, input3d: true };
new Ditap.PopupAddModel(viewer, props);
Members
모바일 해상도 중 화면 너비가 768px 이하일 때 띄울 수 있는 팝업입니다.
This popup can be opened on mobile when the body width is 768px or less.
Methods
팝업 닫기.
Closes the popup.
팝업 열기.
Opens the popup.
