Class GitHubButton
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
-
- com.flowingcode.vaadin.addons.githubbuttons.GitHubButton
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,java.io.Serializable
@Tag("wc-gh-button") @NpmPackage(value="@flowingcode/wc-ngx-github-buttons", version="1.0.0") @JsModule("@flowingcode/wc-ngx-github-buttons/elements/ngxGithubButtons.js") public class GitHubButton extends BaseGitHubButtonSimple Github Star button.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitHubButton()GitHubButton(java.lang.String repo, java.lang.String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubButtonTypegetType()voidsetType()-
Methods inherited from class com.flowingcode.vaadin.addons.githubbuttons.BaseGitHubButton
getRepo, getTarget, getUser, isCount, setCount, setRepo, setTarget, setUser
-
Methods 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, setVisible
-
-
-
-
Method Detail
-
setType
public void setType()
-
getType
public GitHubButtonType getType()
- Returns:
- String return the type
-
-