Constructor
new Probe(source, typeopt)
Example
const candidate = new Candidate('/person/123.jpg', '123', 'url')
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
source |
string | The image source for the probe. |
||
type |
string |
<optional> |
base64
|
The type of data in the image source, valid values are 'url', 'base64', and 'dataurl'. If not provided 'base64' is the default. |