Class MdoGitHubButton
java.lang.Object
com.vaadin.flow.component.Component
com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
com.flowingcode.vaadin.addons.githubbuttons.SizeableGitHubButton
com.flowingcode.vaadin.addons.githubbuttons.MdoGitHubButton
- All Implemented Interfaces:
AttachNotifier,DetachNotifier,HasElement,Serializable
@Tag("wc-mdo-github-button")
@NpmPackage(value="@flowingcode/wc-ngx-github-buttons",
version="1.0.0")
@JsModule("@flowingcode/wc-ngx-github-buttons/elements/ngxGithubButtons.js")
public class MdoGitHubButton
extends SizeableGitHubButton
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetType(MdoGitHubButtonType type) Sets the button's type.Methods inherited from class com.flowingcode.vaadin.addons.githubbuttons.SizeableGitHubButton
getSize, setSizeMethods inherited from class com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
getRepo, getTarget, getUser, isCount, setCount, setRepo, setTarget, setUserMethods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, 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
-
MdoGitHubButton
public MdoGitHubButton() -
MdoGitHubButton
-
-
Method Details
-
setType
Sets the button's type. Type can be 'star, follow, watch, fork'. Default value 'star'.- Parameters:
type- the type of the button
-
getType
- Returns:
- String return the type
-