Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
DitapViewer | 사용할 DitapViewer 인스턴스. The DitapViewer instance to use. | |||||||||
props |
object |
팝업 기능 설정을 위한 속성 객체. Properties object to configure the popup features.
|
Example:
// 1. 모델 추가 팝업을 생성하고 기능 활성화
const viewer = new Ditap.DitapViewer("ditapContainer");
const props = { drawing: true, input3d: true };
new Ditap.PopupAddModel(viewer, props);
Methods
팝업 닫기.
Closes the popup.
팝업 열기.
Opens the popup.