Skip to main content

Home > blockly > Flyout > getInflaterForType

Flyout.getInflaterForType() method

Returns the inflater responsible for constructing items of the given type.

Signature:

protected getInflaterForType(type: string): IFlyoutInflater | null;

Parameters

ParameterTypeDescription
typestringThe type of flyout content item to provide an inflater for.

Returns:

IFlyoutInflater | null

An inflater object for the given type, or null if no inflater is registered for that type.