Replies: 2 comments 2 replies
-
I have no such example in my app. Anyways: the default value is probably not necessary in 99% of all calls. I think it was mainly introduced for the menu, where you can add fontawesome classes directly ( To answer your question: IMO the order of the parameters is wrong, because you want to toggle the Do you want to PR that change? |
Beta Was this translation helpful? Give feedback.
-
TBH, Even for my menu, I've removed the
Example menu WITH and WITHOUT |
Beta Was this translation helpful? Give feedback.
-
Hey @kevinpapst,
wondering what is the purpose of
$default
in thetabler_icon
TWIG function.TablerBundle/src/Twig/RuntimeExtension.php
Lines 131 to 134 in 8a70eaa
Due to that,
all of my calls of this function (when not using buttons), are made with
null
for that parameter.Two questions arise from this:
false
to remove.icon
class..icon
css when using it outside of.btn
.My current problem is that the render with
icon
class and font-awesome is kinda ugly:fas fa-cogs
)Today
.icon
class: 🥉.icon
class overridden: 🥈Without
.icon
class: 🥇WDYT ?
Beta Was this translation helpful? Give feedback.
All reactions