Skip to main content

Type Alias: CacheableMetricsManager

type CacheableMetricsManager = Blockly.IMetricsManager & object;

Defined in: plugins/scroll-options/src/ScrollMetricsManager.ts:50

A MetricsManager that includes the ability to cache the content metrics. Plugin authors may write their own MetricsManagers that do not necessarily inherit from the ScrollMetricsManagers, e.g. to use multiple plugins together. We can't assume the base class, but we can assert the MetricsManager provided has the necessary property.

Type Declaration​

useCachedContentMetrics​

useCachedContentMetrics: boolean;