PopupProperties

@Immutable data class PopupProperties
kotlin.Any
   ↳ androidx.ui.foundation.PopupProperties

Summary

Public constructors

<init>(isFocusable: Boolean = false, onDismissRequest: () -> Unit = null)

Properties

Boolean

Indicates if the popup can grab the focus.

() -> Unit

Executes when the popup tries to dismiss itself.

Public constructors

<init>

PopupProperties(
    isFocusable: Boolean = false,
    onDismissRequest: () -> Unit = null)

Properties

isFocusable

val isFocusable: Boolean

Indicates if the popup can grab the focus.

onDismissRequest

val onDismissRequest: () -> Unit

Executes when the popup tries to dismiss itself. This happens when the popup is focusable and the user clicks outside.