Skip to content

Commit

Permalink
openHardwareLiteBlockManager 예시 추가.
Browse files Browse the repository at this point in the history
  • Loading branch information
lee committed Jul 16, 2024
1 parent 836c251 commit 8353e07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/entryjs/api/2024-02-29-popup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand All @@ -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);
});
````
Expand Down

0 comments on commit 8353e07

Please sign in to comment.