| Name | Type | Default | Description |
|---|---|---|---|
parent |
Element |
document.querySelector("body")
|
optional 부모 요소.Parent element to which the mask will be inserted. |
Example:
const container = document.getElementById("ditapContainer")
const mask = new Ditap.DitapMask(container);
mask.open();
Methods
마스크 비활성화.
Disable mask element.
마스크 파괴.
destroy mask element.
마스크 요소 활성화.
Enable mask element.
