Candidate Object
- React
- HTML
export const myWidgetComponent = () => {
<Widget
candidate={{
email: 'John.Doe@gmail.com',
username: 'John Doe',
reapply: true
}}
config={/* ... */}
/>
}
<body>
<myinterview-widget></myinterview-widget>
<script>
document.querySelector("myinterview-widget").widgetConfig = {
candidate: {
email: 'John.Doe@gmail.com',
username: 'John Doe',
reapply: true
}
config: {/* ... */}
}
</script>
</body>
Parameters of a config
Param | Type | Required | Description |
---|---|---|---|
email | String | true | Email of the candidate |
username | String | false | Full name of the candidate |
reapply | Boolean | false | Allow the candidate to re-apply after submitting the interview |
email
Passing a valid format email of the candidate
email: "test@test.com";
username
Passing the name of the candidate to be able to identify them more easily
username: "xxxxxxxxx";
reapply
Set to true
to enable candidates to re-apply after submitting the interview
reapply: true;