Overlay
Block user for interacting when loading is in progress.
Usage
Simple Usage
preview
Try it:
ts
import { showOverlay, hideOverlay } from '@privyid/persona/core'
function onClick () {
showOverlay()
setTimeout(() => {
hideOverlay()
}, 3000)
}
API
showOverlay
showOverlay(): Promise<void>
Options | Type | Default | Description |
---|---|---|---|
There no options here |
hideOverlay
hideOverlay(): Promise<void>
Options | Type | Default | Description |
---|---|---|---|
There no options here |