com.github.fluorumlabs.disconnect.vaadin.NotificationCard Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-vaadin Show documentation
Show all versions of disconnect-vaadin Show documentation
Vaadin components bindings for Disconnect Zero
The newest version!
package com.github.fluorumlabs.disconnect.vaadin;
import com.github.fluorumlabs.disconnect.core.annotations.WebComponent;
import com.github.fluorumlabs.disconnect.zero.component.*;
/**
* The container element for the notification
*
* Styling
* The following shadow DOM parts are available for styling:
*
*
*
* Part name Description
*
*
* overlay
The notification container
* content
The content of the notification
*
*
* See
* ThemableMixin – how to apply styles for shadow parts
*/
@WebComponent
public class NotificationCard
extends AbstractComponent
implements
HasSlots,
HasStyle,
HasComponents> {
public NotificationCard() {
super(com.github.fluorumlabs.disconnect.vaadin.elements.NotificationCard.TAGNAME());
}
public HasSlots.Container topStretchSlot() {
return slotted("top-stretch");
}
public HasSlots.Container topStartSlot() {
return slotted("top-start");
}
public HasSlots.Container topCenterSlot() {
return slotted("top-center");
}
public HasSlots.Container topEndSlot() {
return slotted("top-end");
}
public HasSlots.Container middleSlot() {
return slotted("middle");
}
public HasSlots.Container bottomStartSlot() {
return slotted("bottom-start");
}
public HasSlots.Container bottomCenterSlot() {
return slotted("bottom-center");
}
public HasSlots.Container bottomEndSlot() {
return slotted("bottom-end");
}
public HasSlots.Container bottomStretchSlot() {
return slotted("bottom-stretch");
}
}