[Home](./index.md) > [@jsamr/counter-style](./counter-style.md) > [CounterStyleRenderer](./counter-style.counterstylerenderer.md) > [withFallback](./counter-style.counterstylerenderer.withfallback.md) ## CounterStyleRenderer.withFallback() method Create a new renderer with a fallback used when the index is out of bounds. See [CSS Counter Styles Level 3, Defining fallback: the fallback descriptor](https://www.w3.org/TR/css-counter-styles-3/#counter-style-fallback). Signature: ```typescript withFallback(fallback: FallbackRenderer): CounterStyleRenderer; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | fallback | [FallbackRenderer](./counter-style.fallbackrenderer.md) | A fallback CounterStyleRenderer. | Returns: [CounterStyleRenderer](./counter-style.counterstylerenderer.md)