@Tag(value="granite-alert-mixin")
@JsModule(value="./granite-alert/granite-alert.js") @JsModule(value="./granite-alert-mixin/granite-alert-mixin.js")
public class GraniteAlert
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasStyle
granite-alert Polymer element| Modifier and Type | Class and Description |
|---|---|
static class |
GraniteAlert.GraniteAlertLevel
The level of the alert
|
| Constructor and Description |
|---|
GraniteAlert() |
| Modifier and Type | Method and Description |
|---|---|
GraniteAlert.GraniteAlertLevel |
getLevel()
Returns the level of the alert
|
void |
setCompact(boolean value)
Set the
compact attribute of the element. |
void |
setLevel(GraniteAlert.GraniteAlertLevel level)
Set the level of the alert
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addComponentAsFirst, addComponentAtIndex, remove, removeAllpublic void setLevel(GraniteAlert.GraniteAlertLevel level)
public GraniteAlert.GraniteAlertLevel getLevel()
public void setCompact(boolean value)
compact attribute of the element.Copyright © 2018–2020 Flowing Code. All rights reserved.