Microphone
A button that lets you record audio from your computer microphone.
Properties
Available properties for Microphone with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
A base64-encoded string of the recorded audio.
A base64-encoded URL with the recorded audio.
Whether the component is visible.
The icon to display after the primary content.
The icon to display before the primary content.
The label of button to start recording.
Whether the component takes up space on the canvas if hidden
is true
.
The amount of margin to render outside of the component.
Whether the microphone is currently recording.
Whether the component remains visible in the editor if hidden
is true
.
The label of button to stop recording.
The current variant used to style the component.
Events
Events are triggered by user interactions with Microphone. Use event handling to trigger queries or other actions in response to events.
A user changes the current value.
Methods
Methods for interacting with Microphone. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.
Start recording audio.
Stop recording audio.
Reset the recording.