Skip to content

Commit

Permalink
Merge pull request #93 from entrylabs/feature/openHardwareLiteBlockMa…
Browse files Browse the repository at this point in the history
…nager

openHardwareLiteBlockManager 예시  추가.
  • Loading branch information
leunge authored Jul 16, 2024
2 parents 836c251 + 8353e07 commit dcebf2d
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 dcebf2d

Please sign in to comment.