Closed godzzo closed 11 months ago
I tried to use mixins default argument values, as the PugJS Documentation suggests, but not working with JEXL.
Should it be working, is it an implemented feature of Pug4J? Or is it an ExpressionEngine dependent feature?
There is an Issue: Default values for arguments in mixins #743, where a comment say it is Runtime dependent.
Pug - mixins - default-arguments-values
//- Declaration mixin article(title='Default Title') .article .article-wrapper h1= title //- Use +article() +article('Hello world')
I implemented default variables on mixin arguments in version 2.1.0. Please try it out.
I tried to use mixins default argument values, as the PugJS Documentation suggests, but not working with JEXL.
Should it be working, is it an implemented feature of Pug4J? Or is it an ExpressionEngine dependent feature?
There is an Issue: Default values for arguments in mixins #743, where a comment say it is Runtime dependent.
Pug - mixins - default-arguments-values