Skip to content

Commit 8353e07

Browse files
author
lee
committed
openHardwareLiteBlockManager 예시 추가.
1 parent 836c251 commit 8353e07

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/entryjs/api/2024-02-29-popup.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,12 +1431,14 @@ addEventListener('openSoundManager', () => {
14311431
// '인공지능 블록 불러오기' 클릭시 dispatch
14321432
removeAllEventListener('openAIUtilizeBlockManager');
14331433
addEventListener('openAIUtilizeBlockManager', () => {
1434+
// Object.values(Entry.AI_UTILIZE_BLOCK_LIST)
14341435
const blocks = this.popup.aiUtilizeBlocks;
14351436
this.popup.show('aiUtilize', blocks);
14361437
});
14371438
// '확장 블록 불러오기' 클릭시 dispatch
14381439
removeAllEventListener('openExpansionBlockManager');
14391440
addEventListener('openExpansionBlockManager', () => {
1441+
// Object.values(Entry.EXPANSION_BLOCK_LIST)
14401442
const blocks = this.popup.expansionBlocks;
14411443
this.popup.show('expansion', blocks);
14421444
});
@@ -1445,6 +1447,14 @@ removeAllEventListener('openPictureImport');
14451447
addEventListener('openPictureImport', () => {
14461448
this.popup.show('paint');
14471449
});
1450+
1451+
// '모양 가져오기' 클릭시 dispatch
1452+
removeAllEventListener('openHardwareLiteBlockManager');
1453+
addEventListener('openHardwareLiteBlockManager', () => {
1454+
// Object.values(Entry.HARDWARE_LITE_LIST)
1455+
const blocks = this.popup.hardwareLiteBlocks;
1456+
this.popup.show('hardwareLite', blocks);
1457+
});
14481458
````
14491459
14501460

0 commit comments

Comments
 (0)