mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
feat: Add the IFlyoutInflater interface. (#8581)
* feat: Add the IFlyoutInflater interface. * fix: Add a return type for IFlyoutInflater.disposeElement(). * refactor: Add the gapForElement method.
This commit is contained in:
@@ -10,6 +10,7 @@ import type {Abstract} from './events/events_abstract.js';
|
||||
import type {Field} from './field.js';
|
||||
import type {IConnectionChecker} from './interfaces/i_connection_checker.js';
|
||||
import type {IFlyout} from './interfaces/i_flyout.js';
|
||||
import type {IFlyoutInflater} from './interfaces/i_flyout_inflater.js';
|
||||
import type {IMetricsManager} from './interfaces/i_metrics_manager.js';
|
||||
import type {IIcon} from './interfaces/i_icon.js';
|
||||
import type {Input} from './inputs/input.js';
|
||||
@@ -99,6 +100,8 @@ export class Type<_T> {
|
||||
'flyoutsHorizontalToolbox',
|
||||
);
|
||||
|
||||
static FLYOUT_INFLATER = new Type<IFlyoutInflater>('flyoutInflater');
|
||||
|
||||
static METRICS_MANAGER = new Type<IMetricsManager>('metricsManager');
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user