Package | Description |
---|---|
com.vaadin.flow.component.notification |
Modifier and Type | Method and Description |
---|---|
Notification.Position |
Notification.getPosition()
Description copied from corresponding location in WebComponent:
|
static Notification.Position |
Notification.Position.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Position[] |
Notification.Position.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Notification.setPosition(Notification.Position position)
Set position of the notification.
|
static Notification |
Notification.show(String text,
int duration,
Notification.Position position)
Shows a notification in the current page with given text, duration and
position.
|
Constructor and Description |
---|
Notification(String text,
int duration,
Notification.Position position)
Creates a Notification with given text String, duration and position
|
Copyright © 2023. All rights reserved.