OptionalattributesAttribute name or array of attribute names.
OptionalclassesClass name or array of class names.
OptionalnameIf set to true element's name will be included in a consumable.
Depending on the usage context it would be added as consumable, tested for being available for consume or consumed.
OptionalstylesStyle name or array of style names.
Object describing all features of a view element that could be consumed and converted individually. This is a non-normalized form of module:engine/view/element~ViewNormalizedConsumables generated from the view Element.
Example element:
The
Consumableswould include:You could convert a
Consumableinto a module:engine/view/element~ViewNormalizedConsumables using the module:engine/conversion/viewconsumable~normalizeConsumables helper.