@plentymarkets/shop-api / tagGetters
Variable: tagGetters ​
const
tagGetters:object
Type declaration ​
getAgenciesTagCLass() ​
getAgenciesTagCLass: (
tag
) =>string
Parameters ​
• tag: ProductTag
Returns ​
string
getTagBackgroundColor() ​
getTagBackgroundColor: (
tag
) =>string
Parameters ​
• tag: ProductTag
Returns ​
string
getTagId() ​
getTagId: (
tag
) =>string
Parameters ​
• tag: ProductTag
Returns ​
string
getTagName() ​
getTagName: (
tag
) =>string
Parameters ​
• tag: ProductTag
Returns ​
string
getTagTextColorIsDark() ​
getTagTextColorIsDark: (
tag
) =>boolean
Parameters ​
• tag: ProductTag
Returns ​
boolean
getTags() ​
getTags: (
product
) =>ProductTag
[]
Parameters ​
• product: Product