@@ -843,6 +843,9 @@ popup.on('submit', (expansionItems) => {
843
843
// 필요할 경우 WS 블록메뉴에 확장블럭 제거
844
844
Entry .playground .removeExpansionBlocks (removeBlocks, true , true );
845
845
}
846
+
847
+ // popupAlertMessage : 알림 메세지 변경시 설정.
848
+ popup .show ({ type: ' expansion' , popupAlertMessage: ' test' }, { data: { data: Object .values (Entry .EXPANSION_BLOCK ) } });
846
849
` ` `
847
850
848
851
#### 샘플 데이터 : expansionItem
@@ -1475,14 +1478,14 @@ removeAllEventListener('openAIUtilizeBlockManager');
1475
1478
addEventListener('openAIUtilizeBlockManager', () => {
1476
1479
// Object.values(Entry.AI_UTILIZE_BLOCK_LIST)
1477
1480
const blocks = this.popup.aiUtilizeBlocks;
1478
- this.popup.show({ type: 'aiUtilize' }, blocks);
1481
+ this.popup.show({ type: 'aiUtilize' }, { data: { data: blocks }} );
1479
1482
});
1480
1483
// '확장 블록 불러오기' 클릭시 dispatch
1481
1484
removeAllEventListener('openExpansionBlockManager');
1482
1485
addEventListener('openExpansionBlockManager', () => {
1483
1486
// Object.values(Entry.EXPANSION_BLOCK_LIST)
1484
1487
const blocks = this.popup.expansionBlocks;
1485
- this.popup.show({ type: 'expansion' }, blocks);
1488
+ this.popup.show({ type: 'expansion' }, { data: { data: blocks } } );
1486
1489
});
1487
1490
// '모양 가져오기' 클릭시 dispatch
1488
1491
removeAllEventListener('openPictureImport');
@@ -1495,7 +1498,7 @@ removeAllEventListener('openHardwareLiteBlockManager');
1495
1498
addEventListener('openHardwareLiteBlockManager', () => {
1496
1499
// Object.values(Entry.HARDWARE_LITE_LIST)
1497
1500
const blocks = this.popup.hardwareLiteBlocks;
1498
- this.popup.show({ type: 'hardwareLite' }, blocks);
1501
+ this.popup.show({ type: 'hardwareLite' }, { data: { data: blocks } } );
1499
1502
});
1500
1503
` ` ` `
1501
1504
0 commit comments