Home > @jsamr/counter-style > CounterStyleRenderer > withRtl
Create a new renderer which renders Right-to-left.
Signature:
withRtl(options?: RtlOptions): CounterStyleRenderer;
Parameter | Type | Description |
---|---|---|
options | RtlOptions |
Returns:
By default: - The order of prefix, counter representation and suffix will be reversed when rendering marker. - The letter ordering of prefix and suffix will be reversed when rendering marker, prefix and suffix. - The letter ordering of counter representation will not be reversed when rendering marker and counter.
See RtlOptions.