Constructors
constructor
- new Recents(initialValues?, opts?): Recents
Parameters
Optional
initialValues: string[]Optional
opts: RecentsOptions
Properties
Protected
_values
_values: string[] = []
Protected
maxValues
maxValues: number
Accessors
values
- get values(): string[]
Returns string[]
Methods
add
- add(locationString): void
Returns void
has
- has(locationString): number
Returns number