ThumbnailBarEffect

sealed interface ThumbnailBarEffect

One-time effects that should be handled by the UI layer. These are not part of the state and should be consumed once.

Inheritors

Types

Link copied to clipboard
data class NavigateToPage(val pageIndex: Int) : ThumbnailBarEffect

Navigate to a specific page. This effect should trigger page navigation in the parent component (e.g., PdfFragment).

Link copied to clipboard
data class RequestFocus(val pageIndex: Int) : ThumbnailBarEffect

Request focus on a specific thumbnail.

Link copied to clipboard
data class ScrollToPage(val pageIndex: Int) : ThumbnailBarEffect

Scroll the thumbnail bar to make a specific page visible.

Link copied to clipboard
data class ShowError(val message: String) : ThumbnailBarEffect

Show an error message to the user.