ferc-elibrary-api / GeneralSearch
Class: GeneralSearch
Extends
Search
<GeneralSearchParams
,GeneralSearchResult
>
Constructors
new GeneralSearch()
new GeneralSearch(
params
):GeneralSearch
Parameters
Parameter | Type |
---|---|
params | Partial <GeneralSearchParams > |
Returns
Overrides
Search<GeneralSearchParams, GeneralSearchResult>.constructor
Source
Properties
data
data:
undefined
|GeneralSearchResult
Inherited from
Search.data
Source
defaultParams
readonly
defaultParams:GeneralSearchParams
=defaultSearch
Overrides
Search.defaultParams
Source
fetch()
readonly
fetch: (params
) =>Promise
<GeneralSearchResult
>
Parameters
Parameter | Type |
---|---|
params | GeneralSearchParams |
Returns
Promise
<GeneralSearchResult
>
Overrides
Search.fetch
Source
params
params:
GeneralSearchParams
Inherited from
Search.params
Source
Methods
getData()
getData():
Promise
<void
>
Returns
Promise
<void
>
Source
nextPage()
nextPage():
Promise
<boolean
>
Returns
Promise
<boolean
>
Source
prevPage()
prevPage():
Promise
<boolean
>
Returns
Promise
<boolean
>
Source
updateParams()
updateParams(
params
):void
Parameters
Parameter | Type |
---|---|
params | Partial <GeneralSearch > |
Returns
void