Skip to main content

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

Parameter

Type

Description

type

string

The 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.