Class WCStoriesStory
java.lang.Object
com.vaadin.flow.component.Component
com.flowingcode.vaadin.addons.wcstories.WCStoriesStory
- All Implemented Interfaces:
AttachNotifier,DetachNotifier,HasElement,Serializable
Represents each story component. It shows an image.
- Author:
- Paola De Bartolo / Flowing Code
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPlaceholder(String placeholder) Sets an image URL or a base64 string.voidSets the image relative or absolute path.Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
Constructor Details
-
WCStoriesStory
-
WCStoriesStory
-
-
Method Details
-
setSrc
Sets the image relative or absolute path.- Parameters:
src-
-
setPlaceholder
Sets an image URL or a base64 string.- Parameters:
placeholder-
-