gulp-file-include icon indicating copy to clipboard operation
gulp-file-include copied to clipboard

If / else @@loop with params with object

Open shakercs opened this issue 6 years ago • 0 comments

@@loop('html/components/stacked-cards/stacked-cards.html', [ { "stackedCards": { "image": "", "orderNum": "54674567", "titleBox": "شركة الهدى للصناعات" }}, { "stackedCards": { "image": "/images/section1.svg", "orderNum": "54674567", "titleBox": "شركة الهدى للصناعات" }},

])

@@if (context.stackedCards.image) { //test } //not working

Cannot read property 'orderNum' of undefined: (context.stackedCards.orderNum)

shakercs avatar Feb 26 '19 06:02 shakercs