Class NtkmeGitHubButton

All Implemented Interfaces:
AttachNotifier, DetachNotifier, HasElement, Serializable

@Tag("wc-ntkme-github-button") @NpmPackage(value="@flowingcode/wc-ngx-github-buttons", version="1.0.0") @JsModule("@flowingcode/wc-ngx-github-buttons/elements/ngxGithubButtons.js") public class NtkmeGitHubButton extends SizeableGitHubButton
See Also:
  • Constructor Details

    • NtkmeGitHubButton

      public NtkmeGitHubButton()
    • NtkmeGitHubButton

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

    • setType

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

      public NtkmeGitHubButtonType getType()
      Returns:
      String return the type
    • setStandardIcon

      public void setStandardIcon(boolean standardIcon)
      Sets whether to use the github logo instead of other icons
      Parameters:
      standardIcon - is true shows standard github logo
    • isStandardIcon

      public boolean isStandardIcon()
      Returns:
      boolean return if the standardIcon is displayed