Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 979 Bytes

counter-style.counterstylerenderer.maxmarkerleninrange.md

File metadata and controls

29 lines (17 loc) · 979 Bytes

Home > @jsamr/counter-style > CounterStyleRenderer > maxMarkerLenInRange

CounterStyleRenderer.maxMarkerLenInRange() method

Get the maximum marker string length given an index range. If a fallback is defined, it will be used for values outside the range boundaries of this renderer.

Signature:

maxMarkerLenInRange(min: number, max: number): number;

Parameters

Parameter Type Description
min number The minimum inclusive value.
max number The maximum inclusive value.

Returns:

number

Remarks

This method doesn't take into account unicode grapheme clusters.