[]
        
(Showing Draft Content)

NavigationControlOptions

Type Alias: NavigationControlOptions

type NavigationControlOptions = object;

Configuration options for the Page Navigation toolbar component

Properties

buttonSizing?

optional buttonSizing: "compact" | "standard" | number;

Controls the sizing of navigation buttons

  • 'compact': 30px width
  • 'standard': 40px width
  • number: Custom width in pixels

Default

'compact'

emptyPageCounterFormat?

optional emptyPageCounterFormat: string;

Display text when no document is loaded

Default

"-- / --"

pageCounterFormat?

optional pageCounterFormat: string;

Custom format for the page counter text Available placeholders:

  • {{current}}: Current page number
  • {{total}}: Total page count

Default

"{{current}} / {{total}}"

pageInputWidth?

optional pageInputWidth: number;

Width of the page input container in pixels

Default

70

Minimum

50


showFirstButton?

optional showFirstButton: boolean;

Show/hide the 'First Page' navigation button

Default

false

showLastButton?

optional showLastButton: boolean;

Show/hide the 'Last Page' navigation button

Default

false

showNextButton?

optional showNextButton: boolean;

Show/hide the 'Next Page' navigation button

Default

true

showPageInput?

optional showPageInput: boolean;

Show/hide the page number input and counter display

Default

true

showPrevButton?

optional showPrevButton: boolean;

Show/hide the 'Previous Page' navigation button

Default

true