Properties
apiKey
apiKey: string
color
color: string = "#333"
Optional fetchSettings
fetchSettings?: RequestInit
getButton
getButton: (image: ImageResult) => string
Type declaration
- (image: ImageResult): string
getPopularResults
getPopularResults: (response: any) => ImageResult[]
Type declaration
- (response: any): ImageResult[]
Parameters
Returns ImageResult[]
getSearchResults
getSearchResults: (response: any) => ImageResult[]
Type declaration
- (response: any): ImageResult[]
Parameters
Returns ImageResult[]
invisible
invisible: boolean = false
loading
loading: boolean = false
noRecolor
noRecolor: boolean = false
popularEndpoint
popularEndpoint: string
poweredByUrl
poweredByUrl: string
results
results: ImageResult[] = []
searchEndpoint
searchEndpoint: (apiKey: string, query: string) => string
Type declaration
- (apiKey: string, query: string): string
Parameters
apiKey: string
query: string
Returns string
stop
stop: () => void = ...
supports
supports: () => boolean = ...
type
type: string = "service"