Class ThumbnailColumn.Attributes
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.columns.ThumbnailColumn.Attributes
- Enclosing interface:
- ThumbnailColumn<C extends ThumbnailColumn<C>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Attribute used to denote the max height of the asset thumbnail itself.static final String
Attribute used to denote the fallback or default "type" for the asset.static final String
Attribute used to denote the property key where the "type" of the asset can be found o on the row.static final String
Attribute used to denote the max width of the asset thumbnail itself. -
Method Summary
-
Field Details
-
HEIGHT
Attribute used to denote the max height of the asset thumbnail itself. If left undefined, this will be defaulted to "3rem".Note that this sets the max height of the thumbnail. This is so that the thumbnail is able to be scaled down for mobile views if necessary.
- See Also:
-
TYPE_KEY
Attribute used to denote the property key where the "type" of the asset can be found o on the row. If left undefined, theTYPE
will be used as the asset type.- See Also:
-
TYPE
Attribute used to denote the fallback or default "type" for the asset. This is used ifTYPE_KEY
is undefined, or a value is not found for the property. If left undefined, it will be defaulted to "IMAGE".- See Also:
-
WIDTH
Attribute used to denote the max width of the asset thumbnail itself. If left undefined, this will be defaulted to "3rem".Note that this sets the max width of the thumbnail. This is so that the thumbnail is able to be scaled down for mobile views if necessary.
- See Also:
-