blockly > Flyout > getInflaterForType
Flyout.getInflaterForType() 方法
返回负责构建给定类型项的 inflater。
Signature:
protected getInflaterForType(type: string): IFlyoutInflater | null;
参数
参数 | 类型 | 说明 |
---|---|---|
type | 字符串 | 要为其提供膨胀器的动作条内容项的类型。 |
返回:
IFlyoutInflater | null
给定类型的 inflater 对象;如果未为该类型注册任何 inflater,则返回 null。