Skip to content

a11ydocs v1.7.0


a11ydocs / ListOptions

Interface: ListOptions

Defined in: src/types.ts:1985

Options for rendering tagged ordered or unordered lists.

Properties

PropertyTypeDescriptionDefined in
align?TextAlignHorizontal alignment for laid-out content.src/types.ts:2009
bullet?stringBullet text used for unordered list items.src/types.ts:2017
characterSpacing?numberAdditional spacing between characters in PDF points.src/types.ts:2003
color?ColorInputColor used for drawing, text, or highlighting.src/types.ts:2001
direction?TextDirectionText direction used for shaping and layout.src/types.ts:1997
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.src/types.ts:1995
font?PdfFontFont used to render text.src/types.ts:1993
fontSize?numberFont size in PDF points.src/types.ts:1999
indent?numberList indentation in PDF points.src/types.ts:2021
itemSpacing?numberVertical spacing between list items in PDF points.src/types.ts:2019
kerning?booleanWhether kerning should be applied where supported.src/types.ts:2011
labelGap?numberGap between list labels and item bodies in PDF points.src/types.ts:2023
lineHeight?numberLine height in PDF points.src/types.ts:2007
ordered?booleanWhether to render the list with ordered labels.src/types.ts:2013
startAt?numberStarting number for ordered output.src/types.ts:2015
widthnumberWidth in PDF points.src/types.ts:1991
wordSpacing?numberAdditional spacing between words in PDF points.src/types.ts:2005
xnumberHorizontal position in PDF points.src/types.ts:1987
ynumberVertical position in PDF points.src/types.ts:1989

Released under the ISC license.