Item module interface. Items are described in detail in Items and Bundles article.

Methods

itemGetAttrInput (type:String, val:Dynamic):_BlockFormInput

Event hook. Returns item attribute form input.

Parameters:

type

Item attribute type.

val

Item attribute value.

Returns:

Item attribute form input. Return null if this module does not handle this attribute type.

itemGetAttrName (type:String, val:Dynamic):String

Event hook. Returns full item attribute name with value attached.

Parameters:

type

Item attribute type.

val

Item attribute value.

Returns:

Item attribute name. Return null if this module does not handle this attribute type.