FlockOptions Class Properties

PropertyTypeOptionalDescription
useHistoryAPIbooleanNoIndicates whether the application should use the HTML5 History API for navigation.
onNavigate(url: PageInfo) => voidYesA callback function that is called when navigation occurs. It takes a PageInfo object as its argument, which likely contains details about the new page.
disableDefaultNavigationbooleanNoIf true, the application’s default navigation handling is disabled, perhaps to be managed manually or by another system.
darkModebooleanNoA flag indicating whether the application should display in dark mode, a display preference that may be more comfortable for users in low-light conditions.