All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.vaadin.NotificationCard Maven / Gradle / Ivy

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 nameDescription
overlayThe notification container
contentThe 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"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy