ButtonClient interface
ButtonClient is the interface returned by revolutId.initialise() for managing authentication buttons.
Methods
mount(container, params?)
Mounts Revolut ID button to a DOM element.
Parameters:
container: HTMLElement- DOM element to mount the button toparams?: ButtonStyle- Optional button styling configuration
Returns: ButtonClient - returns self for method chaining
unmount()
Removes mounted Revolut ID button from the DOM.
Returns: void
Button styling
For complete button styling options and parameters, see ButtonStyle API reference.
Related documentation
- See ButtonStyle for styling options
- See RevolutId Interface for client initialisation
- See Integrate SDK for integration examples