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:
Aaron Dodson
2024-09-25 10:23:25 -07:00
committed by GitHub
parent c79610cea6
commit 6ec1bc5ba5
2 changed files with 44 additions and 0 deletions

View File

@@ -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');
/**