Class 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 Details

    • MdoGitHubButton

      public MdoGitHubButton()
    • MdoGitHubButton

      public MdoGitHubButton(String repo, String user)
  • Method Details

    • setType

      public void setType(MdoGitHubButtonType type)
      Sets the button's type. Type can be 'star, follow, watch, fork'. Default value 'star'.
      Parameters:
      type - the type of the button
    • getType

      public MdoGitHubButtonType getType()
      Returns:
      String return the type