diff --git a/source/entryjs/api/2024-02-29-popup.md b/source/entryjs/api/2024-02-29-popup.md index 8f5cde82..f27a6f88 100644 --- a/source/entryjs/api/2024-02-29-popup.md +++ b/source/entryjs/api/2024-02-29-popup.md @@ -1431,12 +1431,14 @@ addEventListener('openSoundManager', () => { // '인공지능 블록 불러오기' 클릭시 dispatch removeAllEventListener('openAIUtilizeBlockManager'); addEventListener('openAIUtilizeBlockManager', () => { + // Object.values(Entry.AI_UTILIZE_BLOCK_LIST) const blocks = this.popup.aiUtilizeBlocks; this.popup.show('aiUtilize', blocks); }); // '확장 블록 불러오기' 클릭시 dispatch removeAllEventListener('openExpansionBlockManager'); addEventListener('openExpansionBlockManager', () => { + // Object.values(Entry.EXPANSION_BLOCK_LIST) const blocks = this.popup.expansionBlocks; this.popup.show('expansion', blocks); }); @@ -1445,6 +1447,14 @@ removeAllEventListener('openPictureImport'); addEventListener('openPictureImport', () => { this.popup.show('paint'); }); + +// '모양 가져오기' 클릭시 dispatch +removeAllEventListener('openHardwareLiteBlockManager'); +addEventListener('openHardwareLiteBlockManager', () => { + // Object.values(Entry.HARDWARE_LITE_LIST) + const blocks = this.popup.hardwareLiteBlocks; + this.popup.show('hardwareLite', blocks); +}); ````