mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Added the variable modal and component and implemented basic renaming functionality. (#991)
This commit is contained in:
@@ -38,6 +38,7 @@ blocklyApp.AppComponent = ng.core.Component({
|
||||
|
||||
<blockly-block-options-modal></blockly-block-options-modal>
|
||||
<blockly-toolbox-modal></blockly-toolbox-modal>
|
||||
<blockly-variable-modal></blockly-variable-modal>
|
||||
|
||||
<label id="blockly-translate-button" aria-hidden="true" hidden>
|
||||
{{'BUTTON'|translate}}
|
||||
@@ -50,6 +51,7 @@ blocklyApp.AppComponent = ng.core.Component({
|
||||
blocklyApp.BlockOptionsModalComponent,
|
||||
blocklyApp.SidebarComponent,
|
||||
blocklyApp.ToolboxModalComponent,
|
||||
blocklyApp.VariableModalComponent,
|
||||
blocklyApp.WorkspaceComponent
|
||||
],
|
||||
pipes: [blocklyApp.TranslatePipe],
|
||||
@@ -64,7 +66,8 @@ blocklyApp.AppComponent = ng.core.Component({
|
||||
blocklyApp.NotificationsService,
|
||||
blocklyApp.ToolboxModalService,
|
||||
blocklyApp.TreeService,
|
||||
blocklyApp.UtilsService
|
||||
blocklyApp.UtilsService,
|
||||
blocklyApp.VariableModalService
|
||||
]
|
||||
})
|
||||
.Class({
|
||||
|
||||
Reference in New Issue
Block a user