Skip to main content

Interface: Race

Properties

changeOptions

changeOptions: (newOptions: Partial<Options>) => Promise<void>

Type declaration

▸ (newOptions): Promise<void>

Parameters
NameType
newOptionsPartial<Options>
Returns

Promise<void>

Defined in

lib/models.ts:23


dec

dec: (value: number) => void

Type declaration

▸ (value): void

Parameters
NameType
valuenumber
Returns

void

Defined in

lib/models.ts:11


destroy

destroy: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:26


getAllDates

getAllDates: () => string[]

Type declaration

▸ (): string[]

Returns

string[]

Defined in

lib/models.ts:14


getDate

getDate: () => string

Type declaration

▸ (): string

Returns

string

Defined in

lib/models.ts:13


hideGroup

hideGroup: (group: string) => void

Type declaration

▸ (group): void

Parameters
NameType
groupstring
Returns

void

Defined in

lib/models.ts:19


inc

inc: (value: number) => void

Type declaration

▸ (value): void

Parameters
NameType
valuenumber
Returns

void

Defined in

lib/models.ts:10


isRunning

isRunning: () => boolean

Type declaration

▸ (): boolean

Returns

boolean

Defined in

lib/models.ts:15


on

on: (event: EventType, fn: ApiCallback) => void

Type declaration

▸ (event, fn): void

Parameters
NameType
eventEventType
fnApiCallback
Returns

void

Defined in

lib/models.ts:25


onDate

onDate: (date: string | Date, fn: ApiCallback) => void

Type declaration

▸ (date, fn): void

Parameters
NameType
datestring | Date
fnApiCallback
Returns

void

Defined in

lib/models.ts:24


pause

pause: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:6


play

play: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:5


select

select: (name: string) => void

Type declaration

▸ (name): void

Parameters
NameType
namestring
Returns

void

Defined in

lib/models.ts:16


setDate

setDate: (inputDate: string | Date) => void

Type declaration

▸ (inputDate): void

Parameters
NameType
inputDatestring | Date
Returns

void

Defined in

lib/models.ts:12


showAllGroups

showAllGroups: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:22


showGroup

showGroup: (group: string) => void

Type declaration

▸ (group): void

Parameters
NameType
groupstring
Returns

void

Defined in

lib/models.ts:20


showOnlyGroup

showOnlyGroup: (group: string) => void

Type declaration

▸ (group): void

Parameters
NameType
groupstring
Returns

void

Defined in

lib/models.ts:21


skipBack

skipBack: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:8


skipForward

skipForward: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:9


toggle

toggle: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:7


unselect

unselect: (name: string) => void

Type declaration

▸ (name): void

Parameters
NameType
namestring
Returns

void

Defined in

lib/models.ts:17


unselectAll

unselectAll: () => void

Type declaration

▸ (): void

Returns

void

Defined in

lib/models.ts:18