Interface RequestWebNotificationPermissionAction.RequestWebNotificationPermissionJs

All Superinterfaces:
Serializable
Enclosing class:
RequestWebNotificationPermissionAction

@JsDefinition public static interface RequestWebNotificationPermissionAction.RequestWebNotificationPermissionJs extends Serializable
How notification permission is requested, as snippets for JsSnippets.of(Class).

For internal use only. May be renamed or removed in a future release.

  • Method Summary

    Modifier and Type
    Method
    Description
    An action that asks the browser for permission to show notifications.
  • Method Details

    • requestPermission

      @JsExpression("window.Vaadin.Flow.webNotification.requestPermission()") JsFunction requestPermission()
      An action that asks the browser for permission to show notifications.
      Returns:
      the action function