Squiz Matrix Asset Listing Last Position Custom Formatting
Have you ever had an Asset Listing and wanted to customize the layout of the very last item listed? Here is a tip that is probably hidden deep in the Squiz Matrix Manuals, but all you have to do is use -1 as the position format.
By setting -1 as the position, it creates a new Bodycopy asset that can be used to format the very last asset listed. This can be super helpful for many things such as creating valid JSON by removing th comma at the end or giving the last item a different class.
Leave a comment
Want to leave a comment? You know you want to. Just type in the fields to the left then click comment. It's that simple.
Or you can share this post with everyone.