Extending RTLCSS

Your guide on how to use and make the most out of RTLCSS

Time is Priceless, Caffeine is Not! Buy Me a Coffee ☕

Metadata object

The metadata object provides access to directive related information.

sourcenodePostCSS comment node that triggered the directive.
namestringThe directive name, e.g. ignore in /*rtl:ignore*/.
paramstringThe directive paramter, e.g. {"clean":false} in /*rtl:options:{"clean":false}*/.
beginbooleanIndicates the start of the directive scope*1.
endbooleanIndicates the end of the directive scope*1.


*1 Self-closing control directives will have both begin and end set to true.