에디터의 모든 기능을 사용할 수 없도록 막아주는 레이어를 보여줍니다.
관련 액션: command - Shows the dim layer that prevents all functions of the editor from being used.
Related action : hideDimLayer
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'showDimLayer' dim layer showing API |
[fullscreen] | Boolean전체화면을 덮는 레이어를 보여줄지 여부 | Whether to show a layer that covers the entire screen |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('showDimLayer'); // 에디터만 가리는 레이어 보이기Show dim layer that only hides editor area editor.execCommand('showDimLayer', true); // 화면 전체를 가리는 레이어 보이기Show dim layer that covers the entire screen |