Function: displayRanges()
Call Signature
displayRanges(
sport): readonly ["full","infield"]
Defined in: packages/sporty/src/api.ts:338
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"baseball"
Returns
readonly ["full", "infield"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","offensivehalfcourt","offensive_half_court","offensive half court","defense","defence","defensivehalfcourt","defensive_half_court","defensive half court","offensivekey","offensive_key","offensive key","attackingkey","attacking_key","attacking key","defensivekey","defensive_key","defensive key","defendingkey","defending_key","defending key","offensivepaint","offensive_paint","offensive paint","attackingpaint","attacking_paint","attacking paint","offensivelane","offensive_lane","offensive lane","attackinglane","attacking_lane","attacking lane","defensivepaint","defensive_paint","defensive paint","defendingpaint","defending_paint","defending paint","defensivelane","defensive_lane","defensive lane","defendinglane","defending_lane","defending lane"]
Defined in: packages/sporty/src/api.ts:339
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"basketball"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "offensivehalfcourt", "offensive_half_court", "offensive half court", "defense", "defence", "defensivehalfcourt", "defensive_half_court", "defensive half court", "offensivekey", "offensive_key", "offensive key", "attackingkey", "attacking_key", "attacking key", "defensivekey", "defensive_key", "defensive key", "defendingkey", "defending_key", "defending key", "offensivepaint", "offensive_paint", "offensive paint", "attackingpaint", "attacking_paint", "attacking paint", "offensivelane", "offensive_lane", "offensive lane", "attackinglane", "attacking_lane", "attacking lane", "defensivepaint", "defensive_paint", "defensive paint", "defendingpaint", "defending_paint", "defending paint", "defensivelane", "defensive_lane", "defensive lane", "defendinglane", "defending_lane", "defending lane"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","house"]
Defined in: packages/sporty/src/api.ts:340
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"curling"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "house"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","offensivehalffield","offensive_half_field","offensive half field","defense","defence","defensivehalffield","defensive_half_field","defensive half field","redzone","red_zone","red zone","oredzone","offensive_red_zone","offensive red zone","dredzone","defensive_red_zone","defensive red zone"]
Defined in: packages/sporty/src/api.ts:341
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"football"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "offensivehalffield", "offensive_half_field", "offensive half field", "defense", "defence", "defensivehalffield", "defensive_half_field", "defensive half field", "redzone", "red_zone", "red zone", "oredzone", "offensive_red_zone", "offensive red zone", "dredzone", "defensive_red_zone", "defensive red zone"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","defense","defence","nzone","neutral","neutral_zone","neutral zone","ozone","offensive_zone","offensive zone","attacking_zone","attacking zone","dzone","defensive_zone","defensive zone","defending_zone","defending zone"]
Defined in: packages/sporty/src/api.ts:342
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"hockey"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "defense", "defence", "nzone", "neutral", "neutral_zone", "neutral zone", "ozone", "offensive_zone", "offensive zone", "attacking_zone", "attacking zone", "dzone", "defensive_zone", "defensive zone", "defending_zone", "defending zone"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","offensivehalffield","offensive_half_field","offensive half field","defense","defence","defensivehalffield","defensive_half_field","defensive half field"]
Defined in: packages/sporty/src/api.ts:343
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"lacrosse"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "offensivehalffield", "offensive_half_field", "offensive half field", "defense", "defence", "defensivehalffield", "defensive_half_field", "defensive half field"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","offensivehalfpitch","offensive_half_pitch","offensive half pitch","defense","defence","defensivehalfpitch","defensive_half_pitch","defensive half pitch"]
Defined in: packages/sporty/src/api.ts:344
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"soccer"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "offensivehalfpitch", "offensive_half_pitch", "offensive half pitch", "defense", "defence", "defensivehalfpitch", "defensive_half_pitch", "defensive half pitch"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","serve","serving","servicehalf","service_half","service half","servinghalf","serving_half","serving half","receive","receiving","receivicehalf","receivice_half","receivice half","receivinghalf","receiving_half","receiving half","receivehalf","receive_half","receive half"]
Defined in: packages/sporty/src/api.ts:345
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"tennis"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "serve", "serving", "servicehalf", "service_half", "service half", "servinghalf", "serving_half", "serving half", "receive", "receiving", "receivicehalf", "receivice_half", "receivice half", "receivinghalf", "receiving_half", "receiving half", "receivehalf", "receive_half", "receive half"]
Call Signature
displayRanges(
sport): readonly ["full","in_bounds_only","in bounds only","offense","offence","offensivehalfcourt","offensive_half_court","offensive half court","defense","defence","defensivehalfcourt","defensive_half_court","defensive half court"]
Defined in: packages/sporty/src/api.ts:346
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
"volleyball"
Returns
readonly ["full", "in_bounds_only", "in bounds only", "offense", "offence", "offensivehalfcourt", "offensive_half_court", "offensive half court", "defense", "defence", "defensivehalfcourt", "defensive_half_court", "defensive half court"]
Call Signature
displayRanges(
sport): readonlystring[]
Defined in: packages/sporty/src/api.ts:347
Values accepted for SurfaceOptions.displayRange.
Parameters
sport
Returns
readonly string[]