Custom Component
A custom-built React, or HTML and JavaScript, component.
This is a legacy component that is no longer supported. Use custom component libraries if you want to build custom components for Retool apps.
Custom Component supports passing data to and from the Retool app. It can be granted permission for popups, link redirection, and camera access.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
allowCamera
Whether to allow access to a connected camera.
Type | boolean |
Format | True/False |
Configurability | Inspector |
Default | false |
Examples
true
allowDownloads
Whether to allow downloads.
Type | boolean |
Format | True/False |
Configurability | Inspector |
Default | false |
Examples
true
allowForms
Whether to allow form submissions.
Type | boolean |
Format | True/False |
Configurability | Inspector |
Default | false |
Examples
true
allowFullscreen
Whether to allow fullscreen mode.
Type | boolean |
Format | True/False |
Configurability | Inspector |
Default | false |
Examples
true
allowGeolocation
Whether to allow access to the user's location.
Type | boolean |
Format | True/False |
Configurability | Inspector |
Default | false |
Examples
true