Hey everyone
Just a quick follow-up to a video I shared earlier this week, where I showed how to hide the summary text (e.g. “Showing 1 of 1”) on a view using a simple snippet of CSS.
In that video, I mentioned there was a more scalable way to do this using KTL – by setting up a reusable class and calling it with the _cls
keyword. A great comment on the video reminded me to actually show that method properly, so I’ve just recorded a short follow-up.
The updated approach means you don’t have to specify every view individually – instead, you can apply a class once and reuse it wherever you need. Much cleaner and easier to maintain as your app grows!
I’d like to shout out to Craig (@CSWinnall) for pointing out this method to me
As always, if anyone has any questions around this or using KTL in general, feel free to reply here or drop a comment on the video. Always happy to help where I can